choco.cp.solver.search.integer.branching
Class ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage

java.lang.Object
  extended by 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
           
 
Constructor Summary
ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage(ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage impst)
           
ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage(Solver pb, ArrayList subset)
           
 
Method Summary
 double computeCurrentTreeSize()
           
 int getChoiceAddress(IntDomainVar var, int val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage

public ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage(ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage impst)

ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage

public ImpactBasedBranching.AbstractImpactStrategy.ImpactStorage(Solver pb,
                                                                 ArrayList subset)
Method Detail

computeCurrentTreeSize

public double computeCurrentTreeSize()

getChoiceAddress

public int getChoiceAddress(IntDomainVar var,
                            int val)


Copyright © 2012. All Rights Reserved.