[sage-support] Route inspection problem

2018-03-31 Thread Jori Mäntysalo
I was walking at https://kintulammi.fi/wp-content/uploads/Kintulammi_Opaskartta.jpg and hence wondered if Sagemath has a function to solve https://en.wikipedia.org/wiki/Route_inspection_problem . Didn't found any, is it hidden with some other name or module? -- Jori Mäntysalo

Re: [sage-support] Are they equivalent ?

2018-03-31 Thread Jori Mäntysalo
On Sun, 1 Apr 2018, Henri Girard wrote: I am surprise because graph is different it should n't because the adjacency matrix is the same ? They are: sage: W = graphs.WheelGraph(4) sage: H = Graph(W.adjacency_matrix ()) sage: W == H True However, for almost every built-in graph or graph family

[sage-support] Are they equivalent ?

2018-03-31 Thread Henri Girard
I am surprise because graph is different it should n't because the adjacency matrix is the same ? W=graphs.WheelGraph(4);W.show();W.adjacency_matrix () 0000 H=Graph(W.adjacency_matrix ());H.show();H.adjacency_matrix () -- You received this message because you are subs