Documentation ¶
Index ¶
- func Main()
- type Node
- func (node *Node) AddLeft()
- func (node *Node) AddRight()
- func (node *Node) Height(depth int) int
- func (node *Node) IsTerminal() bool
- func (node *Node) Magnitude() int
- func (node *Node) PrintRoot(label string)
- func (node *Node) Reduce(level int, reductionMethod string) (*Node, bool)
- func (tree *Node) ReduceFull() *Node
- func (node *Node) Split()
- func (node Node) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) IsTerminal ¶
func (*Node) ReduceFull ¶
Click to show internal directories.
Click to hide internal directories.