WOLFRAM NOTEBOOK

In[]:=
g15=Graph[Rule@@@WolframModel[{{0,1},{0,2},{0,3}}{{1,2},{2,3},{3,4},{4,1},{4,3}},Table[0,3,2],15,"FinalState"]]
Out[]=
{x[i],y[i]}
NMinimize
GraphDistanceMatrix[UndirectedGraph[g15]]^2
In[]:=
VertexCount[%]
Out[]=
128
In[]:=
MatrixPlot[1/(GraphDistanceMatrix[g15]/.0None)]
Out[]=
In[]:=
MatrixPlot[1/(GraphDistanceMatrix[UndirectedGraph[g15]]/.0None)]
Out[]=
In[]:=
MatrixPlot[Exp[-(GraphDistanceMatrix[UndirectedGraph[g15]]/.0None)]]
Out[]=
In[]:=
MatrixPlot[1/%]
Power
:Infinite expression
1
0
encountered.
Power
:Infinite expression
1
0
encountered.
Power
:Infinite expression
1
0
encountered.
General
:Further output of Power::infy will be suppressed during this calculation.
Out[]=

[[[[ More to do, e.g. with manifold reconstruction ]]]]

Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.