jopt.csp.spi.arcalgorithm.graph.arc
Interface PostableConstraint

All Superinterfaces:
jopt.csp.variable.CspConstraint
All Known Subinterfaces:
GraphConstraint
All Known Implementing Classes:
AbstractConstraint

public interface PostableConstraint
extends jopt.csp.variable.CspConstraint

A constraint that can be posted to a graph


Method Summary
 Arc[] getBooleanSourceArcs()
          Returns array of arcs that will affect the boolean true / false value of this constraint upon a change
 Node[] getBooleanSourceNodes()
          Returns array of nodes that will affect the boolean true / false value of this constraint upon a change
 PostableConstraint getPostableOpposite()
          Returns a constraint that is the opposite of this constraint
 void postToGraph()
          Posts a boolean constraint to the graph for use during propagation
 
Methods inherited from interface jopt.csp.variable.CspConstraint
isFalse, isTrue, toBoolean
 

Method Detail

postToGraph

public void postToGraph()
Posts a boolean constraint to the graph for use during propagation


getPostableOpposite

public PostableConstraint getPostableOpposite()
Returns a constraint that is the opposite of this constraint


getBooleanSourceNodes

public Node[] getBooleanSourceNodes()
Returns array of nodes that will affect the boolean true / false value of this constraint upon a change


getBooleanSourceArcs

public Arc[] getBooleanSourceArcs()
Returns array of arcs that will affect the boolean true / false value of this constraint upon a change