choco.kernel.solver.search
Class SolutionPoolFactory

java.lang.Object
  extended by choco.kernel.solver.search.SolutionPoolFactory

public final class SolutionPoolFactory
extends Object


Method Summary
static ISolutionPool makeDefaultSolutionPool(AbstractGlobalSearchStrategy strategy, int capacity)
           
static ISolutionPool makeFifoSolutionPool(AbstractGlobalSearchStrategy strategy, int capacity)
          contains the last/best solutions (capa > 0).
static ISolutionPool makeInfiniteSolutionPool(AbstractGlobalSearchStrategy strategy)
          record all solution (not resizable).
static ISolutionPool makeNoSolutionPool()
          pool with a nil capacity (not resizable).
static ISolutionPool makeOneSolutionPool(AbstractGlobalSearchStrategy strategy)
          pool of unit capacity, contains the last solution (not resizable);
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeNoSolutionPool

public static ISolutionPool makeNoSolutionPool()
pool with a nil capacity (not resizable).


makeOneSolutionPool

public static ISolutionPool makeOneSolutionPool(AbstractGlobalSearchStrategy strategy)
pool of unit capacity, contains the last solution (not resizable);


makeFifoSolutionPool

public static ISolutionPool makeFifoSolutionPool(AbstractGlobalSearchStrategy strategy,
                                                 int capacity)
contains the last/best solutions (capa > 0).


makeInfiniteSolutionPool

public static ISolutionPool makeInfiniteSolutionPool(AbstractGlobalSearchStrategy strategy)
record all solution (not resizable).


makeDefaultSolutionPool

public static ISolutionPool makeDefaultSolutionPool(AbstractGlobalSearchStrategy strategy,
                                                    int capacity)


Copyright © 2012. All Rights Reserved.