choco.cp.solver.search.task.ordering
Class CentroidOrdering

java.lang.Object
  extended by choco.cp.solver.search.task.ordering.RandomOrdering
      extended by choco.cp.solver.search.task.ordering.CentroidOrdering
All Implemented Interfaces:
OrderingValSelector

public class CentroidOrdering
extends RandomOrdering


Field Summary
 
Fields inherited from class choco.cp.solver.search.task.ordering.RandomOrdering
randomBreakTie
 
Constructor Summary
CentroidOrdering(long seed)
           
 
Method Summary
 int getBestVal(ITemporalSRelation rel)
           
 
Methods inherited from class choco.cp.solver.search.task.ordering.RandomOrdering
getMaxVal, getMaxVal, getMinVal, getMinVal, nextVal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CentroidOrdering

public CentroidOrdering(long seed)
Method Detail

getBestVal

public int getBestVal(ITemporalSRelation rel)
Specified by:
getBestVal in interface OrderingValSelector
Overrides:
getBestVal in class RandomOrdering


Copyright © 2012. All Rights Reserved.