public interface IPhaseLengthAdjuster
| Modifier and Type | Method and Description |
|---|---|
int[] |
adjustPhaseLength(int currentExplorationLength,
int currentExploitationLength,
long passedTime,
long timeout)
Called on every complete iteration of an exploration and an exploitation phase to determine how to change the phase lengths.
|
int[] |
getInitialPhaseLengths(int interval)
Called before the search to set the phase lengths initially.
|
int[] getInitialPhaseLengths(int interval)
interval - Overall length of both phases combined.int[] adjustPhaseLength(int currentExplorationLength,
int currentExploitationLength,
long passedTime,
long timeout)
currentExplorationLength - Current length of the exploration phase.currentExploitationLength - Current length of the exploitation phase.passedTime - Passed time of the search.timout - Timeout for the search.