jp.ac.kobe_u.cs.cream
Class Operation
java.lang.Object
jp.ac.kobe_u.cs.cream.Operation
- Direct Known Subclasses:
- Serialized.Swap
public abstract class Operation
- extends Object
Operations.
See Code
for more details.
- Since:
- 1.0
- See Also:
Code
,
Condition
,
Serialized
,
LocalSearch
Method Summary |
abstract void |
applyTo(Network network)
Applies the operation to the network
to change the condition
for finding a neighbor solution. |
abstract boolean |
isTaboo(Operation op)
Returns true when op is a taboo operation
relative to this operation (for example, op
is the same operation with this operation). |
Operation
public Operation()
applyTo
public abstract void applyTo(Network network)
- Applies the operation to the network
to change the condition
for finding a neighbor solution.
- Parameters:
network
- the network
isTaboo
public abstract boolean isTaboo(Operation op)
- Returns true when op is a taboo operation
relative to this operation (for example, op
is the same operation with this operation).
- Parameters:
op
- the operation to be checked
- Returns:
- true when op is a taboo
- See Also:
TabooSearch
Cream: Constraint Programming Class Library for Java