New in Wolfram
Mathematica
8: Modelado de grafos y de redes
◄
previous
|
next
►
Áreas de aplicación
Familias parametrizadas de grafos
Mathematica
8 tiene una colección detallada de grafos paramétricos.
In[1]:=
X
style = {VertexStyle -> Directive[Hue[.6, .3, 1], EdgeForm[Hue[.6, .8, .7]]], VertexSize -> 0.25, EdgeStyle -> Hue[.6, .8, .5], ImageSize -> {125, 125}};
In[2]:=
X
text[s_] := Style[s, 11, FontFamily -> "Verdana"];
In[3]:=
X
graphs = {text[ButterflyGraph], text[CirculantGraph], text[CompleteGraph], text[CompleteGraph], ButterflyGraph[2, style], CirculantGraph[8, 3, style], CompleteGraph[8, style], CompleteGraph[{3, 2, 4}, EdgeStyle -> Hue[.6, .8, .7], style], text[CycleGraph], text[GridGraph], text[HararyGraph], text[HypercubeGraph], CycleGraph[8, style], GridGraph[{4, 5}, style], HararyGraph[5, 8, style], HypercubeGraph[3, style], text[KnightTourGraph], text[PetersenGraph], text[StarGraph], text[TuranGraph], KnightTourGraph[4, 4, style], PetersenGraph[6, 5, style], StarGraph[8, style], TuranGraph[7, 3, style], text[WheelGraph], text[KaryTree], text[CompleteKaryTree], text[PathGraph], WheelGraph[8, style], KaryTree[10, 3, style], CompleteKaryTree[3, 3, style], PathGraph[Range[20], style] };
In[4]:=
X
Grid[Partition[graphs, 4, 4, {1, 1}, {}], Frame -> {All, {True, False, True, False, True, False, True, False}}, FrameStyle -> LightGray, Spacings -> {1, {{2, 1}}}]
Out[4]=