choco.kernel.solver.branch
Class AbstractBinIntBranching
java.lang.Object
choco.kernel.solver.branch.AbstractBranchingStrategy
choco.kernel.solver.branch.AbstractIntBranchingStrategy
choco.kernel.solver.branch.AbstractIntBranching
choco.kernel.solver.branch.AbstractBinIntBranching
- All Implemented Interfaces:
- BranchingStrategy, IntBranching
Deprecated.
@Deprecated
public abstract class AbstractBinIntBranching
- extends AbstractIntBranching
Method Summary |
boolean |
finishedBranching(Object x,
int i)
Deprecated. Checks whether all branches have already been explored at the
current choice point. |
int |
getFirstBranch(Object x)
Deprecated. Computes the search index of the first branch of the choice point. |
int |
getNextBranch(Object x,
int i)
Deprecated. Computes the search index of the next branch of the choice point. |
Methods inherited from class choco.kernel.solver.branch.AbstractIntBranching |
finishedBranching, getDecisionLogMessage, getDecisionLogMsg, goDownBranch, goDownBranch, goUpBranch, goUpBranch, initBranching, initConstraintForBranching, selectBranchingObject, setFirstBranch, setNextBranch, setSolver |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBinIntBranching
public AbstractBinIntBranching()
- Deprecated.
getFirstBranch
public final int getFirstBranch(Object x)
- Deprecated.
- Description copied from class:
AbstractIntBranching
- Computes the search index of the first branch of the choice point.
- Specified by:
getFirstBranch
in class AbstractIntBranching
- Parameters:
x
- the object on which the alternative is set
- Returns:
- the index of the first branch
getNextBranch
public final int getNextBranch(Object x,
int i)
- Deprecated.
- Description copied from class:
AbstractIntBranching
- Computes the search index of the next branch of the choice point.
- Specified by:
getNextBranch
in class AbstractIntBranching
- Parameters:
x
- the object on which the alternative is seti
- the index of the current branch
- Returns:
- the index of the next branch
finishedBranching
public final boolean finishedBranching(Object x,
int i)
- Deprecated.
- Description copied from class:
AbstractIntBranching
- Checks whether all branches have already been explored at the
current choice point.
- Specified by:
finishedBranching
in class AbstractIntBranching
- Parameters:
x
- the object on which the alternative is seti
- the index of the last branch
- Returns:
- true if no more branches can be generated
Copyright © 2012. All Rights Reserved.