Cream version 1.2 Core API Specification
A B C D E F G I J L M N O P R S T U V W

A

ABS - Static variable in class jp.ac.kobe_u.cs.cream.IntFunc
 
ADD - Static variable in class jp.ac.kobe_u.cs.cream.IntArith
 
abs() - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 
add(IntVariable) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 
add(int) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 
add(Solver) - Method in class jp.ac.kobe_u.cs.cream.Monitor
 
addData(Solver, int) - Method in class jp.ac.kobe_u.cs.cream.Monitor
 
applyTo(Network) - Method in class jp.ac.kobe_u.cs.cream.Operation
 

B

BETTER - Static variable in class jp.ac.kobe_u.cs.cream.Solver
An option value specifying to return only better solutions

C

Code - class jp.ac.kobe_u.cs.cream.Code.
 
Code(Network) - Constructor for class jp.ac.kobe_u.cs.cream.Code
 
Condition - class jp.ac.kobe_u.cs.cream.Condition.
 
Condition() - Constructor for class jp.ac.kobe_u.cs.cream.Condition
 
Constraint - class jp.ac.kobe_u.cs.cream.Constraint.
An abstract class for constraints.
cap(Domain) - Method in class jp.ac.kobe_u.cs.cream.Domain
 
cap(Domain) - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
capInterval(int, int) - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
clearBest() - Method in class jp.ac.kobe_u.cs.cream.Solver
Clears the best solution this solver has been found.
clone() - Method in class jp.ac.kobe_u.cs.cream.Code
 
clone() - Method in class jp.ac.kobe_u.cs.cream.Domain
 
clone() - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
clone() - Method in class jp.ac.kobe_u.cs.cream.Network
Returns a copy of this network.
conditions - Variable in class jp.ac.kobe_u.cs.cream.Code
 
contains(Object) - Method in class jp.ac.kobe_u.cs.cream.Domain
 
contains(int) - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
contains(Object) - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
cup(Domain) - Method in class jp.ac.kobe_u.cs.cream.Domain
 
cup(Domain) - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 

D

DEFAULT - Static variable in class jp.ac.kobe_u.cs.cream.Solver
A constant value for the default option
DefaultSolver - class jp.ac.kobe_u.cs.cream.DefaultSolver.
A branch-and-bound solver.
DefaultSolver(Network) - Constructor for class jp.ac.kobe_u.cs.cream.DefaultSolver
Constructs a branch-and-bound solver for the given network.
DefaultSolver(Network, int) - Constructor for class jp.ac.kobe_u.cs.cream.DefaultSolver
Constructs a branch-and-bound solver for the given network and options.
DefaultSolver(Network, String) - Constructor for class jp.ac.kobe_u.cs.cream.DefaultSolver
Constructs a branch-and-bound solver for the given network and name.
DefaultSolver(Network, int, String) - Constructor for class jp.ac.kobe_u.cs.cream.DefaultSolver
Constructs a branch-and-bound solver for the given network, options, and name.
Domain - class jp.ac.kobe_u.cs.cream.Domain.
Domains.
Domain() - Constructor for class jp.ac.kobe_u.cs.cream.Domain
 
delete(Object) - Method in class jp.ac.kobe_u.cs.cream.Domain
 
delete(int) - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
delete(Object) - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
delete(int, int) - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
difference(Domain) - Method in class jp.ac.kobe_u.cs.cream.Domain
 
difference(Domain) - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 

E

EMPTY - Static variable in class jp.ac.kobe_u.cs.cream.IntDomain
 
Equals - class jp.ac.kobe_u.cs.cream.Equals.
 
Equals(Network, Variable, Variable) - Constructor for class jp.ac.kobe_u.cs.cream.Equals
 
Equals(Network, Variable[]) - Constructor for class jp.ac.kobe_u.cs.cream.Equals
 
element() - Method in class jp.ac.kobe_u.cs.cream.Domain
 
element() - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
elements() - Method in class jp.ac.kobe_u.cs.cream.Domain
 
elements() - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
equals(Domain) - Method in class jp.ac.kobe_u.cs.cream.Domain
 
equals(Domain) - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
equals(IntVariable) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 
equals(int) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 

F

FULL - Static variable in class jp.ac.kobe_u.cs.cream.IntDomain
 
findAll(SolutionHandler) - Method in class jp.ac.kobe_u.cs.cream.Solver
Invokes the handler for each solution.
findAll(SolutionHandler, long) - Method in class jp.ac.kobe_u.cs.cream.Solver
Invokes the handler for each solution with the timeout.
findBest() - Method in class jp.ac.kobe_u.cs.cream.Solver
Finds the best solution.
findBest(long) - Method in class jp.ac.kobe_u.cs.cream.Solver
Finds the best solution with the timeout.
findFirst() - Method in class jp.ac.kobe_u.cs.cream.Solver
Finds the first solution.
findFirst(long) - Method in class jp.ac.kobe_u.cs.cream.Solver
Finds the first solution with the timeout.

G

GE - Static variable in class jp.ac.kobe_u.cs.cream.IntComparison
 
GT - Static variable in class jp.ac.kobe_u.cs.cream.IntComparison
 
ge(IntVariable) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 
ge(int) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 
getBestSolution() - Method in class jp.ac.kobe_u.cs.cream.Solver
Returns the best solution this solver has been found.
getBestValue() - Method in class jp.ac.kobe_u.cs.cream.Solver
Returns the best objective value this solver has been found.
getCode() - Method in class jp.ac.kobe_u.cs.cream.Solution
Returns the code of the solution.
getConstraint(int) - Method in class jp.ac.kobe_u.cs.cream.Network
Returns the i-th constraint of this network.
getConstraints() - Method in class jp.ac.kobe_u.cs.cream.Network
Returns the list of constraints of this network.
getDomain(Variable) - Method in class jp.ac.kobe_u.cs.cream.Solution
Returns the domain of the given variable in the solution.
getExchangeRate() - Method in class jp.ac.kobe_u.cs.cream.LocalSearch
 
getID() - Method in class jp.ac.kobe_u.cs.cream.Solver
Returns the ID number of this solver.
getIntValue(Variable) - Method in class jp.ac.kobe_u.cs.cream.Solution
Returns the integer value of the given variable in the solution.
getName() - Method in class jp.ac.kobe_u.cs.cream.Variable
Returns the name of this variable.
getObjective() - Method in class jp.ac.kobe_u.cs.cream.Network
Returns the objective variable of this network.
getObjectiveIntValue() - Method in class jp.ac.kobe_u.cs.cream.Solution
Returns the integer value of the objective variable in the solution.
getOption() - Method in class jp.ac.kobe_u.cs.cream.Solver
Returns the option value.
getSolution() - Method in class jp.ac.kobe_u.cs.cream.Solver
Returns the last solution this solver is found.
getVariable(int) - Method in class jp.ac.kobe_u.cs.cream.Network
Returns the i-th variable of this network.
getVariables() - Method in class jp.ac.kobe_u.cs.cream.Network
Returns the list of variables of this network.
gt(IntVariable) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 
gt(int) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 

I

IBBSearch - class jp.ac.kobe_u.cs.cream.IBBSearch.
 
IBBSearch(Network) - Constructor for class jp.ac.kobe_u.cs.cream.IBBSearch
 
IBBSearch(Network, int) - Constructor for class jp.ac.kobe_u.cs.cream.IBBSearch
 
IBBSearch(Network, String) - Constructor for class jp.ac.kobe_u.cs.cream.IBBSearch
 
IBBSearch(Network, int, String) - Constructor for class jp.ac.kobe_u.cs.cream.IBBSearch
 
IntArith - class jp.ac.kobe_u.cs.cream.IntArith.
 
IntArith(Network, int, Variable, Variable, Variable) - Constructor for class jp.ac.kobe_u.cs.cream.IntArith
 
IntArith(Network, int, Variable, Variable, int) - Constructor for class jp.ac.kobe_u.cs.cream.IntArith
 
IntArith(Network, int, Variable, int, Variable) - Constructor for class jp.ac.kobe_u.cs.cream.IntArith
 
IntArith(Network, int, int, Variable, Variable) - Constructor for class jp.ac.kobe_u.cs.cream.IntArith
 
IntComparison - class jp.ac.kobe_u.cs.cream.IntComparison.
 
IntComparison(Network, int, Variable, Variable) - Constructor for class jp.ac.kobe_u.cs.cream.IntComparison
 
IntComparison(Network, int, Variable, int) - Constructor for class jp.ac.kobe_u.cs.cream.IntComparison
 
IntComparison(Network, int, int, Variable) - Constructor for class jp.ac.kobe_u.cs.cream.IntComparison
 
IntDomain - class jp.ac.kobe_u.cs.cream.IntDomain.
 
IntDomain() - Constructor for class jp.ac.kobe_u.cs.cream.IntDomain
 
IntDomain(int) - Constructor for class jp.ac.kobe_u.cs.cream.IntDomain
 
IntDomain(int, int) - Constructor for class jp.ac.kobe_u.cs.cream.IntDomain
 
IntFunc - class jp.ac.kobe_u.cs.cream.IntFunc.
 
IntFunc(Network, int, Variable, Variable) - Constructor for class jp.ac.kobe_u.cs.cream.IntFunc
 
IntFunc(Network, int, Variable, int) - Constructor for class jp.ac.kobe_u.cs.cream.IntFunc
 
IntFunc(Network, int, int, Variable) - Constructor for class jp.ac.kobe_u.cs.cream.IntFunc
 
IntVariable - class jp.ac.kobe_u.cs.cream.IntVariable.
Integer variables.
IntVariable(Network, IntDomain) - Constructor for class jp.ac.kobe_u.cs.cream.IntVariable
Constructs an integer variable of the network with an initial integer domain d and a default name.
IntVariable(Network, IntDomain, String) - Constructor for class jp.ac.kobe_u.cs.cream.IntVariable
Constructs an integer variable of the network with an initial integer domain d and a name specified by the parameter name.
IntVariable(Network) - Constructor for class jp.ac.kobe_u.cs.cream.IntVariable
 
IntVariable(Network, int) - Constructor for class jp.ac.kobe_u.cs.cream.IntVariable
 
IntVariable(Network, int, String) - Constructor for class jp.ac.kobe_u.cs.cream.IntVariable
 
IntVariable(Network, int, int) - Constructor for class jp.ac.kobe_u.cs.cream.IntVariable
 
IntVariable(Network, int, int, String) - Constructor for class jp.ac.kobe_u.cs.cream.IntVariable
 
init() - Method in class jp.ac.kobe_u.cs.cream.Monitor
 
insert(Object) - Method in class jp.ac.kobe_u.cs.cream.Domain
 
insert(Object) - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
isEmpty() - Method in class jp.ac.kobe_u.cs.cream.Domain
 
isTaboo(Operation) - Method in class jp.ac.kobe_u.cs.cream.Operation
 
iterationTimeout - Variable in class jp.ac.kobe_u.cs.cream.LocalSearch
 

J

join() - Method in class jp.ac.kobe_u.cs.cream.Solver
Waits until the solver ends the execution.
jp.ac.kobe_u.cs.cream - package jp.ac.kobe_u.cs.cream
 

L

LE - Static variable in class jp.ac.kobe_u.cs.cream.IntComparison
 
LT - Static variable in class jp.ac.kobe_u.cs.cream.IntComparison
 
LocalSearch - class jp.ac.kobe_u.cs.cream.LocalSearch.
A super class of local search solvers, and also an implementation of a random walk solver.
LocalSearch(Network) - Constructor for class jp.ac.kobe_u.cs.cream.LocalSearch
Constructs a random-walk solver for the given network.
LocalSearch(Network, int) - Constructor for class jp.ac.kobe_u.cs.cream.LocalSearch
Constructs a random-walk solver for the given network and option.
LocalSearch(Network, String) - Constructor for class jp.ac.kobe_u.cs.cream.LocalSearch
Constructs a random-walk solver for the given network and name.
LocalSearch(Network, int, String) - Constructor for class jp.ac.kobe_u.cs.cream.LocalSearch
Constructs a random-walk solver for the given network, option, and name.
le(IntVariable) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 
le(int) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 
lt(IntVariable) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 
lt(int) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 

M

MAXIMIZE - Static variable in class jp.ac.kobe_u.cs.cream.Solver
An option value specifying to maximize the objective variable
MAX_VALUE - Static variable in class jp.ac.kobe_u.cs.cream.IntDomain
 
MINIMIZE - Static variable in class jp.ac.kobe_u.cs.cream.Solver
An option value specifying to minimize the objective variable
MIN_VALUE - Static variable in class jp.ac.kobe_u.cs.cream.IntDomain
 
MULTIPLY - Static variable in class jp.ac.kobe_u.cs.cream.IntArith
 
Monitor - class jp.ac.kobe_u.cs.cream.Monitor.
 
Monitor() - Constructor for class jp.ac.kobe_u.cs.cream.Monitor
 
max() - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
min() - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
multiply(IntVariable) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 
multiply(int) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 

N

NEGATE - Static variable in class jp.ac.kobe_u.cs.cream.IntFunc
 
NONE - Static variable in class jp.ac.kobe_u.cs.cream.Solver
A constant value for no options
Network - class jp.ac.kobe_u.cs.cream.Network.
Constraint networks.
Network() - Constructor for class jp.ac.kobe_u.cs.cream.Network
Constructs an empty constraint network.
NotEquals - class jp.ac.kobe_u.cs.cream.NotEquals.
 
NotEquals(Network, Variable, Variable) - Constructor for class jp.ac.kobe_u.cs.cream.NotEquals
 
NotEquals(Network, Variable[]) - Constructor for class jp.ac.kobe_u.cs.cream.NotEquals
 
negate() - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 
notEquals(IntVariable) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 
notEquals(int) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 

O

Operation - class jp.ac.kobe_u.cs.cream.Operation.
 
Operation() - Constructor for class jp.ac.kobe_u.cs.cream.Operation
 
operations() - Method in class jp.ac.kobe_u.cs.cream.Code
 
operations() - Method in class jp.ac.kobe_u.cs.cream.Condition
 

P

ParallelSolver - class jp.ac.kobe_u.cs.cream.ParallelSolver.
 
ParallelSolver(Solver[]) - Constructor for class jp.ac.kobe_u.cs.cream.ParallelSolver
 
ParallelSolver(Solver[], String) - Constructor for class jp.ac.kobe_u.cs.cream.ParallelSolver
 
paint(Graphics) - Method in class jp.ac.kobe_u.cs.cream.Monitor
 
push(Variable) - Method in class jp.ac.kobe_u.cs.cream.Trail
 

R

remove(Object) - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
resetIDCounter() - Static method in class jp.ac.kobe_u.cs.cream.Solver
Resets the ID counter to be 0.
resume() - Method in class jp.ac.kobe_u.cs.cream.Solver
Resumes the execution of the solver.
run() - Method in class jp.ac.kobe_u.cs.cream.DefaultSolver
 
run() - Method in class jp.ac.kobe_u.cs.cream.LocalSearch
 
run() - Method in class jp.ac.kobe_u.cs.cream.ParallelSolver
 
run() - Method in class jp.ac.kobe_u.cs.cream.Solver
The body of the solver.

S

SASearch - class jp.ac.kobe_u.cs.cream.SASearch.
 
SASearch(Network) - Constructor for class jp.ac.kobe_u.cs.cream.SASearch
 
SASearch(Network, int) - Constructor for class jp.ac.kobe_u.cs.cream.SASearch
 
SASearch(Network, String) - Constructor for class jp.ac.kobe_u.cs.cream.SASearch
 
SASearch(Network, int, String) - Constructor for class jp.ac.kobe_u.cs.cream.SASearch
 
SUBTRACT - Static variable in class jp.ac.kobe_u.cs.cream.IntArith
 
Sequential - class jp.ac.kobe_u.cs.cream.Sequential.
 
Sequential(Network, Variable[], int[]) - Constructor for class jp.ac.kobe_u.cs.cream.Sequential
 
Serialized - class jp.ac.kobe_u.cs.cream.Serialized.
 
Serialized(Network, Variable[], int[]) - Constructor for class jp.ac.kobe_u.cs.cream.Serialized
 
Solution - class jp.ac.kobe_u.cs.cream.Solution.
Solutions.
Solution(Network) - Constructor for class jp.ac.kobe_u.cs.cream.Solution
Constructs a solution from the given network.
SolutionHandler - interface jp.ac.kobe_u.cs.cream.SolutionHandler.
An interface for solution handlers.
Solver - class jp.ac.kobe_u.cs.cream.Solver.
An abstract class for constraint solvers.
Solver(Network) - Constructor for class jp.ac.kobe_u.cs.cream.Solver
Constructs a solver for the given network (for invocation by subclass constructors).
Solver(Network, int) - Constructor for class jp.ac.kobe_u.cs.cream.Solver
Constructs a solver for the given network and option (for invocation by subclass constructors).
Solver(Network, String) - Constructor for class jp.ac.kobe_u.cs.cream.Solver
Constructs a solver for the given network and name (for invocation by subclass constructors).
Solver(Network, int, String) - Constructor for class jp.ac.kobe_u.cs.cream.Solver
Constructs a solver for the given network, option, and name (for invocation by subclass constructors).
setCandidate(Solution) - Method in class jp.ac.kobe_u.cs.cream.LocalSearch
Sets a candidate solution for a next iteration.
setClearRate(double) - Method in class jp.ac.kobe_u.cs.cream.IBBSearch
 
setExchangeRate(double) - Method in class jp.ac.kobe_u.cs.cream.LocalSearch
 
setIterationTimeout(long) - Method in class jp.ac.kobe_u.cs.cream.IBBSearch
 
setMonitor(Monitor) - Method in class jp.ac.kobe_u.cs.cream.ParallelSolver
 
setMonitor(Monitor) - Method in class jp.ac.kobe_u.cs.cream.Solver
Sets the monitor.
setObjective(Variable) - Method in class jp.ac.kobe_u.cs.cream.Network
Sets the objective variable of this network.
setTo(Network) - Method in class jp.ac.kobe_u.cs.cream.Code
 
setTo(Network) - Method in class jp.ac.kobe_u.cs.cream.Condition
 
setX(int, int) - Method in class jp.ac.kobe_u.cs.cream.Monitor
 
size() - Method in class jp.ac.kobe_u.cs.cream.Domain
 
size() - Method in class jp.ac.kobe_u.cs.cream.Trail
 
solved(Solver, Solution) - Method in class jp.ac.kobe_u.cs.cream.ParallelSolver
 
solved(Solver, Solution) - Method in interface jp.ac.kobe_u.cs.cream.SolutionHandler
This method is called for each solution and at the end of search (solution is set to null).
start() - Method in class jp.ac.kobe_u.cs.cream.Solver
Starts the solver in a new thread, and immediately returns to the caller.
start(long) - Method in class jp.ac.kobe_u.cs.cream.Solver
Starts the solver in a new thread with the timeout, and immediately returns to the caller.
start(SolutionHandler) - Method in class jp.ac.kobe_u.cs.cream.Solver
Starts the solver in a new thread, and immediately returns to the caller.
start(SolutionHandler, long) - Method in class jp.ac.kobe_u.cs.cream.Solver
Starts the solver in a new thread with the timeout, and immediately returns to the caller.
stop() - Method in class jp.ac.kobe_u.cs.cream.LocalSearch
 
stop() - Method in class jp.ac.kobe_u.cs.cream.ParallelSolver
 
stop() - Method in class jp.ac.kobe_u.cs.cream.Solver
Stops the execution of the solver.
subtract(IntVariable) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 
subtract(int) - Method in class jp.ac.kobe_u.cs.cream.IntVariable
 

T

TabooSearch - class jp.ac.kobe_u.cs.cream.TabooSearch.
 
TabooSearch(Network) - Constructor for class jp.ac.kobe_u.cs.cream.TabooSearch
 
TabooSearch(Network, int) - Constructor for class jp.ac.kobe_u.cs.cream.TabooSearch
 
TabooSearch(Network, String) - Constructor for class jp.ac.kobe_u.cs.cream.TabooSearch
 
TabooSearch(Network, int, String) - Constructor for class jp.ac.kobe_u.cs.cream.TabooSearch
 
Trail - class jp.ac.kobe_u.cs.cream.Trail.
 
Trail() - Constructor for class jp.ac.kobe_u.cs.cream.Trail
 
tabooLength - Variable in class jp.ac.kobe_u.cs.cream.TabooSearch
 
toString() - Method in class jp.ac.kobe_u.cs.cream.Equals
 
toString() - Method in class jp.ac.kobe_u.cs.cream.IntArith
 
toString() - Method in class jp.ac.kobe_u.cs.cream.IntComparison
 
toString() - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 
toString() - Method in class jp.ac.kobe_u.cs.cream.IntFunc
 
toString() - Method in class jp.ac.kobe_u.cs.cream.Network
Returns a readable string representation of this network.
toString() - Method in class jp.ac.kobe_u.cs.cream.NotEquals
 
toString() - Method in class jp.ac.kobe_u.cs.cream.Sequential
 
toString() - Method in class jp.ac.kobe_u.cs.cream.Serialized
 
toString() - Method in class jp.ac.kobe_u.cs.cream.Solution
Returns a readable string representation of this solution.
toString() - Method in class jp.ac.kobe_u.cs.cream.Solver
Returns the name of this solver.
toString() - Method in class jp.ac.kobe_u.cs.cream.Variable
Returns the name of this variable.

U

undo(int) - Method in class jp.ac.kobe_u.cs.cream.Trail
 
update(Graphics) - Method in class jp.ac.kobe_u.cs.cream.Monitor
 

V

Variable - class jp.ac.kobe_u.cs.cream.Variable.
Variables.
Variable(Network, Domain) - Constructor for class jp.ac.kobe_u.cs.cream.Variable
Constructs a variable of the network with an initial domain d and a default name.
Variable(Network, Domain, String) - Constructor for class jp.ac.kobe_u.cs.cream.Variable
Constructs a variable of the network with an initial domain d and a name specified by the parameter name.
value() - Method in class jp.ac.kobe_u.cs.cream.IntDomain
 

W

waitNext() - Method in class jp.ac.kobe_u.cs.cream.Solver
Waits for the next solution, or the end of the solver execution.
waitNext(long) - Method in class jp.ac.kobe_u.cs.cream.Solver
Waits for the next solution, or the end of the solver execution with the timeout.

A B C D E F G I J L M N O P R S T U V W
Cream version 1.2 Core API Specification

Cream: Constraint Programming Class Library for Java