Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Population ¶
type Population struct {
Solutions []Solution
}
Population is a collection of solutions.
func NewPopulation ¶
func NewPopulation(size, length int) *Population
NewPopulation returns an unevaluated population.
func (*Population) Length ¶
func (pop *Population) Length() int
func (*Population) Size ¶
func (pop *Population) Size() int
func (*Population) String ¶
func (pop *Population) String() string
Click to show internal directories.
Click to hide internal directories.