Documentation ¶
Index ¶
- func Abs(x int) int
- func CanAttack(a, b Point) bool
- func CanPlace(target Point, board []Point) bool
- func ClassicMain()
- func CrossoverEachGene(p genetic.Population, ai int, bi int) (genetic.Single, genetic.Single)
- func CrossoverLR(p genetic.Population, ai int, bi int) (genetic.Single, genetic.Single)
- func CrossoverRing(p genetic.Population, ai int, bi int) (genetic.Single, genetic.Single)
- func GeneticMain()
- func Random(p genetic.Population) genetic.Single
- func Recurse(point Point, current []Point, n int)
- func ScoreNormalizeLossReciprocal(factor float64) func(genetic.ScoreFunc) genetic.ScoreFunc
- func ScorePower(n float64) genetic.ScoreFunc
- func Solve(n int)
- func ToImage(p genetic.Population, index int) image.Image
- func Variant(p genetic.Population, q genetic.Single) genetic.Single
- type Point
- type Queen
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClassicMain ¶
func ClassicMain()
func CrossoverEachGene ¶
func CrossoverLR ¶
func CrossoverRing ¶
func GeneticMain ¶
func GeneticMain()
func ScorePower ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.