Cream version 1.06 Core API Specification

jp.ac.kobe_u.cs.cream
Class NeighborhoodSearchSolver

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

public class NeighborhoodSearchSolver
extends DefaultSolver

A branch-and-bound solver with preset values. An array of initial values can be passed as an argument to the solver.

See Also:
Solver, DefaultSolver

Field Summary
 
Fields inherited from class jp.ac.kobe_u.cs.cream.DefaultSolver
BISECT, ENUM, RANDOM, STEP
 
Fields inherited from class jp.ac.kobe_u.cs.cream.Solver
BETTER, DEFAULT, MAXIMIZE, MINIMIZE, NONE
 
Constructor Summary
NeighborhoodSearchSolver(Network network, int[] values)
           
NeighborhoodSearchSolver(Network network, int[] values, int options)
           
NeighborhoodSearchSolver(Network network, int[] values, int options, String name)
           
NeighborhoodSearchSolver(Network network, int[] values, String name)
           
 
Method Summary
 void run()
          The body of the solver.
 
Methods inherited from class jp.ac.kobe_u.cs.cream.DefaultSolver
getChoice, getTrail, satisfy, selectVariable, setChoice
 
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, stop, toString, waitNext, waitNext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NeighborhoodSearchSolver

public NeighborhoodSearchSolver(Network network,
                                int[] values)

NeighborhoodSearchSolver

public NeighborhoodSearchSolver(Network network,
                                int[] values,
                                int options)

NeighborhoodSearchSolver

public NeighborhoodSearchSolver(Network network,
                                int[] values,
                                String name)

NeighborhoodSearchSolver

public NeighborhoodSearchSolver(Network network,
                                int[] values,
                                int options,
                                String name)
Method Detail

run

public void run()
Description copied from class: Solver
The body of the solver. This method is called from Solver.start() methods.

Specified by:
run in interface Runnable
Overrides:
run in class DefaultSolver

Cream version 1.06 Core API Specification

Cream: Constraint Programming Class Library for Java