Cream version 1.06 Core API Specification

jp.ac.kobe_u.cs.cream
Class Condition

java.lang.Object
  extended by jp.ac.kobe_u.cs.cream.Condition
Direct Known Subclasses:
Serialized.SerializedCondition

public abstract class Condition
extends Object

Codition abstract class represents a condition of a constraint under the current solution. See Code for more details.

Since:
1.0
See Also:
Code, Serialized

Constructor Summary
Condition()
           
 
Method Summary
abstract  List<Operation> operations()
          Returns a list of operations applicable to the condition.
abstract  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

Condition

public Condition()
Method Detail

setTo

public abstract void setTo(Network network)
Sets the condition to the network.

Parameters:
network - the network

operations

public abstract List<Operation> operations()
Returns a list of operations applicable to the condition.

Returns:
the list of operations

Cream version 1.06 Core API Specification

Cream: Constraint Programming Class Library for Java