Features for testing the presence of rubiks¶
- class sage.features.rubiks.Rubiks¶
Bases:
sage.features.join_feature.JoinFeatureA
Featuredescribing the presence ofcu2,cubex,dikcube,mcube,optimal, andsize222.EXAMPLES:
sage: from sage.features.rubiks import Rubiks sage: Rubiks().is_present() # optional - rubiks FeatureTestResult('rubiks', True)
- sage.features.rubiks.all_features()¶
- class sage.features.rubiks.cu2¶
Bases:
sage.features.ExecutableA
Featuredescribing the presence ofcu2EXAMPLES:
sage: from sage.features.rubiks import cu2 sage: cu2().is_present() # optional - rubiks FeatureTestResult('cu2', True)
- class sage.features.rubiks.cubex¶
Bases:
sage.features.ExecutableA
Featuredescribing the presence ofcubexEXAMPLES:
sage: from sage.features.rubiks import cubex sage: cubex().is_present() # optional - rubiks FeatureTestResult('cubex', True)
- class sage.features.rubiks.dikcube¶
Bases:
sage.features.ExecutableA
Featuredescribing the presence ofdikcubeEXAMPLES:
sage: from sage.features.rubiks import dikcube sage: dikcube().is_present() # optional - rubiks FeatureTestResult('dikcube', True)
- class sage.features.rubiks.mcube¶
Bases:
sage.features.ExecutableA
Featuredescribing the presence ofmcubeEXAMPLES:
sage: from sage.features.rubiks import mcube sage: mcube().is_present() # optional - rubiks FeatureTestResult('mcube', True)
- class sage.features.rubiks.optimal¶
Bases:
sage.features.ExecutableA
Featuredescribing the presence ofoptimalEXAMPLES:
sage: from sage.features.rubiks import optimal sage: optimal().is_present() # optional - rubiks FeatureTestResult('optimal', True)
- class sage.features.rubiks.size222¶
Bases:
sage.features.ExecutableA
Featuredescribing the presence ofsize222EXAMPLES:
sage: from sage.features.rubiks import size222 sage: size222().is_present() # optional - rubiks FeatureTestResult('size222', True)