Features for testing the presence of graph generator programs benzene
, buckygen
, plantri
¶
- class sage.features.graph_generators.Benzene(*args, **kwds)[source]¶
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)
>>> from sage.all import * >>> from sage.features.graph_generators import Benzene >>> Benzene().is_present() # optional - benzene FeatureTestResult('benzene', True)
from sage.features.graph_generators import Benzene Benzene().is_present() # optional - benzene
- is_functional()[source]¶
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)
>>> from sage.all import * >>> from sage.features.graph_generators import Benzene >>> Benzene().is_functional() # optional - benzene FeatureTestResult('benzene', True)
from sage.features.graph_generators import Benzene Benzene().is_functional() # optional - benzene
- class sage.features.graph_generators.Buckygen(*args, **kwds)[source]¶
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)
>>> from sage.all import * >>> from sage.features.graph_generators import Buckygen >>> Buckygen().is_present() # optional - buckygen FeatureTestResult('buckygen', True)
from sage.features.graph_generators import Buckygen Buckygen().is_present() # optional - buckygen
- is_functional()[source]¶
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)
>>> from sage.all import * >>> from sage.features.graph_generators import Buckygen >>> Buckygen().is_functional() # optional - buckygen FeatureTestResult('buckygen', True)
from sage.features.graph_generators import Buckygen Buckygen().is_functional() # optional - buckygen
- class sage.features.graph_generators.Plantri(*args, **kwds)[source]¶
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)
>>> from sage.all import * >>> from sage.features.graph_generators import Plantri >>> Plantri().is_present() # optional - plantri FeatureTestResult('plantri', True)
from sage.features.graph_generators import Plantri Plantri().is_present() # optional - plantri
- is_functional()[source]¶
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)
>>> from sage.all import * >>> from sage.features.graph_generators import Plantri >>> Plantri().is_functional() # optional - plantri FeatureTestResult('plantri', True)
from sage.features.graph_generators import Plantri Plantri().is_functional() # optional - plantri