Skip to content

Simple and fast cpp program that generates integer sequence A122660

License

Notifications You must be signed in to change notification settings

solarrabbit99/A122660

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A122660

Simple and fast cpp program that generates integer sequence A122660.

Plantri

Plantri is a program developed to enumerate triangulations of planar graphs. Its source code can be downloaded and compiled here. For our purpose, I have included only the plantri.c file. You may compile the program similar to the following:

> gcc plantri.c -o plantri

We will be using this program to exhaust all maximal planar graphs to test for petrie-completeness.

Main Program File

The main program file can be compiled similar to the following:

> g++ A122660.cpp -o A122660

To test for the number of petrie-complete graphs with n vertices, use the following command:

> ./plantri n | ./A122660

Example Usage

> /plantri 17 | ./A122660
129664753 triangulations written to stdout; cpu=73.91 sec
41036436 petrie-complete graphs found in 218.953s

About

Simple and fast cpp program that generates integer sequence A122660

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published