Skip to content

v1.2.0

Compare
Choose a tag to compare
@khezen khezen released this 04 Apr 09:52
· 11 commits to master since this release

Description

We encountered use cases where it was important to retrieve deads as well as survivors so we changed the PI to enable that.

API Change

Select(pop Population, survivorsSize int) (survivors Population, err error)
Select(pop Population, survivorsSize int) (survivors, deads Population, err error)

Abritrate(participants ...Individual) (winner Individual)
Abritrate(participants ...Individual) (winner Individual, loosers []Individual)