Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Edge ¶
type Edge interface { // Start returns the 'first' node of the edge. Start() Node // Start returns the 'second' node of the edge. End() Node // Forward returns the true if the edge is // connected in the forward direction. Forward() bool // Backward returns the true if the edge is // connected in the backward direction. Backward() bool }
type LinkedList ¶
type LinkedList interface { // First returns the 'first' element of the list. First() Node // Last returns the 'last' element of the list. Last() Node // Next returns the 'next' element of the list. // If there is no 'current' element, it returns // First() // // If Next() == nil, it returns First() if 'cyclical' // is true. Next() Node // Previous returns the 'previous' element of the list. Prev() Node // Cyclical returns true if the list is cyclical. Cyclical() bool }
Click to show internal directories.
Click to hide internal directories.