Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coordinates ¶
type GenerationProcessor ¶
type GenerationProcessor struct {
// contains filtered or unexported fields
}
TODO: Add species, alleles, dominant/recessive genes and evolution index
func FromCells ¶
func FromCells(c []*cell.Cell) GenerationProcessor
func (*GenerationProcessor) Expand ¶
func (gp *GenerationProcessor) Expand(influence int)
TODO: Include survival logic in the processor, consider removing originalFound check.
func (*GenerationProcessor) Reduce ¶
func (gp *GenerationProcessor) Reduce(minimum int, maximum int)
func (GenerationProcessor) ToCells ¶
func (gp GenerationProcessor) ToCells() []*cell.Cell
Click to show internal directories.
Click to hide internal directories.