Ask Your Question

Revision history [back]

Any Built in code for Crossed Prism Graphs on sagemath?

I have been working on a research question regarding a certain property of Crossed Prism Graphs that requires me to use Sage (i.e., Python). I have found on an article entitled: "A new generalization of generalized Petersen graphs" that the family GDGP_2(n; 1, n-3) is also known as Crossed Prism Graph, where GDGP stands for Divisible Generalized Petersen Graphs. Any idea how to code that up in Sage? I would love some guidance!

click to hide/show revision 2
retagged

Any Built in code for Crossed Prism Graphs on sagemath?

I have been working on a research question regarding a certain property of Crossed Prism Graphs that requires me to use Sage (i.e., Python). I have found on an article entitled: "A new generalization of generalized Petersen graphs" that the family GDGP_2(n; 1, n-3) is also known as Crossed Prism Graph, where GDGP stands for Divisible Generalized Petersen Graphs. Any idea how to code that up in Sage? I would love some guidance!