Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶
type Graph struct { // Vertices describes all vertices contained in the graph // The key will be the ID value of the connected vertice // with the value being the pointer to it Vertices map[string]*Vertex }
type Vertex ¶
type Vertex struct { // ID is the unique identifier of the vertex ID string // Value contains a vertex's value. Value interface{} // Vertices will describe vertices connected to this one // The key will be the Key value of the connected vertice // with the value being the pointer to it Vertices map[interface{}]*Vertex }
Vertex represents graph's vertex
Click to show internal directories.
Click to hide internal directories.