3
$\begingroup$

Is there any way to tell Mathematica to generate a list of graphs that are both traceable and planar?

$\endgroup$

1 Answer 1

5
$\begingroup$

Check GraphData.

Get a list of names with this command:

Intersection[
 GraphData["Planar"],
 GraphData["Traceable"]
]

Apply GraphData to a name to get the graph.

$\endgroup$
1
  • $\begingroup$ This is awesome, thanks! $\endgroup$
    – Juan
    Jan 26, 2016 at 8:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.