Features for testing the presence of graph generator programs benzene, buckygen, plantri#

class sage.features.graph_generators.Benzene(*args, **kwds)#

Bases: Executable

A Feature which checks for the benzene binary.

EXAMPLES:

sage: from sage.features.graph_generators import Benzene
sage: Benzene().is_present()  # optional - benzene
FeatureTestResult('benzene', True)
is_functional()#

Check whether benzene works on trivial input.

EXAMPLES:

sage: from sage.features.graph_generators import Benzene
sage: Benzene().is_functional()  # optional - benzene
FeatureTestResult('benzene', True)
class sage.features.graph_generators.Buckygen(*args, **kwds)#

Bases: Executable

A Feature which checks for the buckygen binary.

EXAMPLES:

sage: from sage.features.graph_generators import Buckygen
sage: Buckygen().is_present()  # optional - buckygen
FeatureTestResult('buckygen', True)
is_functional()#

Check whether buckygen works on trivial input.

EXAMPLES:

sage: from sage.features.graph_generators import Buckygen
sage: Buckygen().is_functional()  # optional - buckygen
FeatureTestResult('buckygen', True)
class sage.features.graph_generators.Plantri(*args, **kwds)#

Bases: Executable

A Feature which checks for the plantri binary.

EXAMPLES:

sage: from sage.features.graph_generators import Plantri
sage: Plantri().is_present()  # optional - plantri
FeatureTestResult('plantri', True)
is_functional()#

Check whether plantri works on trivial input.

EXAMPLES:

sage: from sage.features.graph_generators import Plantri
sage: Plantri().is_functional()  # optional - plantri
FeatureTestResult('plantri', True)
sage.features.graph_generators.all_features()#