@Deprecated public class LastConflict_old extends AbstractStrategy<Variable> implements IMonitorRestart, IMonitorSolution, IMonitorContradiction
Modifier and Type | Field and Description |
---|---|
protected Variable |
candidate
Deprecated.
|
protected int |
cIdx
Deprecated.
|
protected boolean |
dynamic
Deprecated.
|
protected int |
k
Deprecated.
|
protected AbstractStrategy<Variable> |
mainStrategy
Deprecated.
|
protected Solver |
solver
Deprecated.
|
protected Variable[] |
testingSet
Deprecated.
|
LOGGER, vars
Constructor and Description |
---|
LastConflict_old(Solver solver,
AbstractStrategy<Variable> mainStrategy,
int k,
boolean dynamic)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterRestart()
Deprecated.
|
void |
beforeRestart()
Deprecated.
|
Decision |
getDecision()
Deprecated.
Provides access to the current decision in the strategy.
|
void |
init()
Deprecated.
Prepare
this to be used in a search loop |
void |
onContradiction(ContradictionException cex)
Deprecated.
|
void |
onSolution()
Deprecated.
|
computeDecision, getVariables, toString
protected Solver solver
protected AbstractStrategy<Variable> mainStrategy
protected Variable candidate
protected final Variable[] testingSet
protected final int k
protected int cIdx
protected final boolean dynamic
public LastConflict_old(Solver solver, AbstractStrategy<Variable> mainStrategy, int k, boolean dynamic)
public void init() throws ContradictionException
AbstractStrategy
this
to be used in a search loopinit
in class AbstractStrategy<Variable>
ContradictionException
public Decision getDecision()
AbstractStrategy
null
.getDecision
in class AbstractStrategy<Variable>
public void onContradiction(ContradictionException cex)
onContradiction
in interface IMonitorContradiction
public void beforeRestart()
beforeRestart
in interface IMonitorRestart
public void afterRestart()
afterRestart
in interface IMonitorRestart
public void onSolution()
onSolution
in interface IMonitorSolution
Copyright © 2015. All rights reserved.