Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
PartialCube.py

Test whether a graph is an isometric subgraph of a hypercube.

D. Eppstein, September 2005, rewritten May 2007 per arxiv:0705.1025.

src/p/y/pystream-HEAD/lib/PADS/GrayGraph.py   pystream(Download)
    def testPartialCube(self):
        """The Gray Graph is (sadly) not a partial cube."""
        import PartialCube
        self.assertEqual(PartialCube.isPartialCube(GrayGraph),False)