Documentation ¶
Index ¶
Constants ¶
View Source
const (
Logging = false
)
Variables ¶
View Source
var (
OoCounter *int64 = new(int64)
)
Functions ¶
func LocalSearch ¶
func LocalSearch(file *oo.File, currentChoice []bool) *oo.Individual
The main routine of the local search. Starts by going upwards but doesn't stop if the first search upwards yields no improvement.
Types ¶
type AddCandidateSlice ¶
type AddCandidateSlice []*AddCandidate
func (AddCandidateSlice) Len ¶
func (a AddCandidateSlice) Len() int
Len, Less and Swap are needed so that the slice can be sorted
func (AddCandidateSlice) Less ¶
func (a AddCandidateSlice) Less(i, j int) bool
func (AddCandidateSlice) Swap ¶
func (a AddCandidateSlice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.