story.scheherazade.analysis
Class Constraint

java.lang.Object
  extended by story.scheherazade.analysis.Constraint
Direct Known Subclasses:
CharacterBindingConstraint, MatchedIntersectionConstraint

public abstract class Constraint
extends java.lang.Object


Constructor Summary
Constraint()
           
 
Method Summary
abstract  java.lang.StringBuffer failsConstraint(SCHIntersection proposedIntersection)
          Returns null if a proposed intersection passes the constraint, an explanation string otherwise.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Constraint

public Constraint()
Method Detail

failsConstraint

public abstract java.lang.StringBuffer failsConstraint(SCHIntersection proposedIntersection)
                                                throws Scheherexception
Returns null if a proposed intersection passes the constraint, an explanation string otherwise.

Throws:
Scheherexception


Copyright © 2011 David K. Elson. All Rights Reserved.