|
Cream version 1.06 Core API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjp.ac.kobe_u.cs.cream.Solver
jp.ac.kobe_u.cs.cream.LocalSearch
jp.ac.kobe_u.cs.cream.TabooSearch
public class TabooSearch
Taboo Search.
Only useful for the optimization problems containing Serialized
constraints
in the current implementation.
The default exchangeRate value for ParallelSolver
is 0.8.
Field Summary | |
---|---|
int |
tabooLength
The length of the taboo list. |
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 | |
---|---|
TabooSearch(Network network)
|
|
TabooSearch(Network network,
int option)
|
|
TabooSearch(Network network,
int option,
String name)
|
|
TabooSearch(Network network,
String name)
|
Method Summary | |
---|---|
void |
addTaboo(Operation op)
Adds the operation op to the taboo list. |
void |
clearTaboo()
Allocates a new taboo list. |
boolean |
isTaboo(Operation op)
Returns true when the operation op is a taboo. |
void |
nextSearch()
Finds the next solution. |
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 |
Field Detail |
---|
public int tabooLength
Constructor Detail |
---|
public TabooSearch(Network network)
public TabooSearch(Network network, int option)
public TabooSearch(Network network, String name)
public TabooSearch(Network network, int option, String name)
Method Detail |
---|
public void clearTaboo()
public boolean isTaboo(Operation op)
op
- the operation to be checked
public void addTaboo(Operation op)
op
- the operation to be addedpublic void startSearch()
LocalSearch
startSearch
in class LocalSearch
public void nextSearch()
LocalSearch
nextSearch
in class LocalSearch
|
Cream version 1.06 Core API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |