Module construction

Module construction 

Source
Expand description

Construction heuristic phase

Builds an initial solution by assigning values to uninitialized planning variables one at a time.

Structs§

BestFitForager
Best Fit forager - evaluates all moves and picks the best.
ConstructionHeuristicConfig
Construction heuristic phase configuration.
ConstructionHeuristicPhase
Construction heuristic phase that builds an initial solution.
FirstFeasibleForager
First Feasible forager - picks the first move that results in a feasible score.
FirstFitForager
First Fit forager - picks the first feasible move.
Placement
A placement represents an entity that needs a value assigned, along with the candidate moves to assign values.
QueuedEntityPlacer
A queued entity placer that processes entities in order.
SortedEntityPlacer
Entity placer that sorts placements by a comparator function.
StrongestFitForager
Strongest Fit forager - picks the move with the highest strength value.
WeakestFitForager
Weakest Fit forager - picks the move with the lowest strength value.

Enums§

ForagerType
Type of forager to use in construction.

Traits§

ConstructionForager
Trait for selecting a move during construction.
EntityPlacer
Trait for placing entities during construction.