Cream version 1.06 Core API Specification

jp.ac.kobe_u.cs.cream
Class Serialized.SerializedCondition

java.lang.Object
  extended by jp.ac.kobe_u.cs.cream.Condition
      extended by jp.ac.kobe_u.cs.cream.Serialized.SerializedCondition
Enclosing class:
Serialized

public class Serialized.SerializedCondition
extends Condition

This class represents a condition on which the order of variables are chosen for this serialized constraint in the solution. The condition will be modified by a swap operation to find a neighbor solution in the LocalSearch solver.

Since:
1.0
See Also:
LocalSearch

Constructor Summary
Serialized.SerializedCondition()
          Constructs a condition for the serialized constraint under the current solution by extracting the order of variables.
 
Method Summary
 List<Operation> operations()
          Returns a list of operations applicable to the condition.
 void setTo(Network network)
          Sets the condition to the network.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Serialized.SerializedCondition

public Serialized.SerializedCondition()
Constructs a condition for the serialized constraint under the current solution by extracting the order of variables.

Method Detail

setTo

public void setTo(Network network)
Description copied from class: Condition
Sets the condition to the network.

Specified by:
setTo in class Condition
Parameters:
network - the network

operations

public List<Operation> operations()
Description copied from class: Condition
Returns a list of operations applicable to the condition.

Specified by:
operations in class Condition
Returns:
the list of operations

Cream version 1.06 Core API Specification

Cream: Constraint Programming Class Library for Java