Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alpha ¶
type Alpha struct {
AlphaCount int
}
Alpha pairing makes sure every new child has at least one parent who was one of the best of the previous generation.
type ValIndexHeap ¶
type ValIndexHeap [][2]int
The first element in each heap node is the value of that node, and the second is the index that value represents in some external structure.
func (ValIndexHeap) Len ¶
func (h ValIndexHeap) Len() int
func (ValIndexHeap) Less ¶
func (h ValIndexHeap) Less(i, j int) bool
func (*ValIndexHeap) Pop ¶
func (h *ValIndexHeap) Pop() interface{}
func (*ValIndexHeap) Push ¶
func (h *ValIndexHeap) Push(x interface{})
func (ValIndexHeap) Swap ¶
func (h ValIndexHeap) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.