Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BasicEdge ¶
type BasicEdge struct {
// contains filtered or unexported fields
}
func NewBasicEdge ¶
type BasicGraph ¶
type BasicGraph struct {
// contains filtered or unexported fields
}
func NewBasicGraph ¶
func NewBasicGraph() *BasicGraph
func (*BasicGraph) AddDirectedEdge ¶
func (b *BasicGraph) AddDirectedEdge(id1, id2 string, weight int)
func (*BasicGraph) GetNode ¶
func (b *BasicGraph) GetNode(id string) *BasicNode
func (*BasicGraph) Nodes ¶
func (b *BasicGraph) Nodes() []Node
Click to show internal directories.
Click to hide internal directories.