Cream version 1.06 Core API Specification

jp.ac.kobe_u.cs.cream
Class IBBSearch

java.lang.Object
  extended by jp.ac.kobe_u.cs.cream.Solver
      extended by jp.ac.kobe_u.cs.cream.LocalSearch
          extended by jp.ac.kobe_u.cs.cream.IBBSearch
All Implemented Interfaces:
Runnable

public class IBBSearch
extends LocalSearch

Iterativ Branch-and-Bound Search. Only useful for the optimization problems containing Serialized constraints in the current implementation. The default exchangeRate value for ParallelSolver is 0.8.

Since:
1.0

Field Summary
 
Fields inherited from class jp.ac.kobe_u.cs.cream.LocalSearch
initialTimeout, iterationTimeout, solver
 
Fields inherited from class jp.ac.kobe_u.cs.cream.Solver
BETTER, DEFAULT, MAXIMIZE, MINIMIZE, NONE
 
Constructor Summary
IBBSearch(Network network)
           
IBBSearch(Network network, int option)
           
IBBSearch(Network network, int option, String name)
           
IBBSearch(Network network, String name)
           
 
Method Summary
 double getClearRate()
          Returns the clear rate.
 void nextSearch()
          Finds the next solution.
 void setClearRate(double clearRate)
          Sets the clear rate.
 void startSearch()
          Finds the initial solution.
 
Methods inherited from class jp.ac.kobe_u.cs.cream.LocalSearch
endSearch, getCandidate, getExchangeRate, getIterations, run, setCandidate, setExchangeRate, stop
 
Methods inherited from class jp.ac.kobe_u.cs.cream.Solver
clearBest, findAll, findAll, findBest, findBest, findFirst, findFirst, getBestSolution, getBestValue, getCount, getElapsedTime, getID, getMonitor, getOption, getSolution, isAborted, join, resetIDCounter, resume, setMonitor, start, start, start, start, toString, waitNext, waitNext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IBBSearch

public IBBSearch(Network network)

IBBSearch

public IBBSearch(Network network,
                 int option)

IBBSearch

public IBBSearch(Network network,
                 String name)

IBBSearch

public IBBSearch(Network network,
                 int option,
                 String name)
Method Detail

getClearRate

public double getClearRate()
Returns the clear rate. The clear rate is the rate of clearing the conditions to find the neighbor solution. The default value is 0.8.

Returns:
the clear rate

setClearRate

public void setClearRate(double clearRate)
Sets the clear rate.

Parameters:
clearRate - the clear rate to set

startSearch

public void startSearch()
Description copied from class: LocalSearch
Finds the initial solution.

Overrides:
startSearch in class LocalSearch

nextSearch

public void nextSearch()
Description copied from class: LocalSearch
Finds the next solution.

Overrides:
nextSearch in class LocalSearch

Cream version 1.06 Core API Specification

Cream: Constraint Programming Class Library for Java