Cream version 1.06 Core API Specification

jp.ac.kobe_u.cs.cream
Class Operation

java.lang.Object
  extended by 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

Constructor Summary
Operation()
           
 
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).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Operation

public Operation()
Method Detail

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 version 1.06 Core API Specification

Cream: Constraint Programming Class Library for Java