Platonic solid graph generator

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
 
Line 11: Line 11:
 
  <object> Vextex <n>
 
  <object> Vextex <n>
  
where <object> is '''Tetrahedron''', '''Cube''', '''Octahedron''', '''Dodecahedron''', or '''Icosahedron'''. and <n> is a number of vertex. First vertex gets number 0. For example '''Cube Vertex 5''' is a base name for cube's last vertex point.
+
where <object> is '''Tetrahedron''', '''Cube''', '''Octahedron''', '''Dodecahedron''', or '''Icosahedron'''. and <n> is a number of the vertex. First vertex gets number 0. For example '''Cube Vertex 5''' is a base name for cube's last vertex point.
  
 
Similarly each vertex topic is given a subject identifier
 
Similarly each vertex topic is given a subject identifier

Revision as of 19:34, 22 January 2008

Platonic solid graph generator creates algorithmically graphs for simple geometrical objects known as Platonic solids. Platonic solids are

  • Tetrahedron
  • Cube
  • Octahedron
  • Dodecahedron
  • Icosahedron

Generator creates a topic for each vertex and connects this vertex topic to other vertex topics sharing an edge. Vertex topics are given a base name

<object> Vextex <n>

where <object> is Tetrahedron, Cube, Octahedron, Dodecahedron, or Icosahedron. and <n> is a number of the vertex. First vertex gets number 0. For example Cube Vertex 5 is a base name for cube's last vertex point.

Similarly each vertex topic is given a subject identifier

http://www.wandora.org/<object>/vertex<n>

where <object> is lower case name of the object and <n> a number of vertex.

Vertexes are connected with edge associations. Association type's base name and subject identifiers are

 <object>Edge
 http://www.wandora.org/<object>/edge

Association roles are

 <object> Role 1
 <object> Role 2
Personal tools