choco.cp.solver.search.integer.branching
Class ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage
java.lang.Object
choco.cp.solver.search.integer.branching.ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage
- Enclosing class:
- ImpactBasedBranching.AbstractImpactStrategy
protected static class ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage
- extends Object
Field Summary |
int[] |
blocks
in order to speed up the computation of the index of a tuple
in the table, blocks[i] stores the sum of the domain sizes of variables j with j < i. |
int[] |
offsets
|
Solver |
pb
|
int[] |
sizes
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
offsets
public int[] offsets
sizes
public int[] sizes
blocks
public int[] blocks
- in order to speed up the computation of the index of a tuple
in the table, blocks[i] stores the sum of the domain sizes of variables j with j < i.
pb
public Solver pb
ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage
public ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage(ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage impst)
ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage
public ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage(Solver pb,
ArrayList subset)
computeCurrentTreeSize
public double computeCurrentTreeSize()
getChoiceAddress
public int getChoiceAddress(IntDomainVar var,
int val)
Copyright © 2012. All Rights Reserved.