mutations

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2022 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitFlip

type BitFlip struct{}

func (*BitFlip) Mutate

func (mutation *BitFlip) Mutate(c *Chromosome)

type Flip

type Flip struct {
	// Number of flip done for each mutation
	Frequency int
}

Most basic mutationn needs to be parametered

func (*Flip) Mutate

func (mutation *Flip) Mutate(c *Chromosome)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL