public class LargeNeighborhoodSearch extends Object implements ICause, IMonitorSolution, IMonitorInterruption, IMonitorRestart
Modifier and Type | Field and Description |
---|---|
protected boolean |
hasAppliedNeighborhood |
protected INeighbor |
neighbor |
protected Solver |
solver |
Constructor and Description |
---|
LargeNeighborhoodSearch(Solver solver,
INeighbor neighbor,
boolean restartAfterEachSolution) |
Modifier and Type | Method and Description |
---|---|
void |
afterInterrupt() |
void |
afterRestart() |
void |
beforeRestart() |
void |
onSolution() |
boolean |
why(RuleStore ruleStore,
IntVar var,
IEventType evt,
int value)
Add new rules to the rule store
|
protected Solver solver
protected final INeighbor neighbor
protected boolean hasAppliedNeighborhood
public void onSolution()
onSolution
in interface IMonitorSolution
public void afterInterrupt()
afterInterrupt
in interface IMonitorInterruption
public void beforeRestart()
beforeRestart
in interface IMonitorRestart
public void afterRestart()
afterRestart
in interface IMonitorRestart
public boolean why(RuleStore ruleStore, IntVar var, IEventType evt, int value)
ICause
Copyright © 2015. All rights reserved.