story.scheherazade.elements
Class PredicateCalculusModel
java.lang.Object
story.scheherazade.elements.PredicateCalculusModel
public class PredicateCalculusModel
- extends java.lang.Object
A "serialization" of the story graph into a set of first-order,
predicate calculus assertions.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATT_SOURCE
public static java.lang.String ATT_SOURCE
ATT_TYPE
public static java.lang.String ATT_TYPE
ATT_VERBALIZATION
public static java.lang.String ATT_VERBALIZATION
ATT_AGENT
public static java.lang.String ATT_AGENT
PredicateCalculusModel
public PredicateCalculusModel()
declareNode
public void declareNode(NodeAddress node,
InterpretativeNodeType nodeType)
throws Scheherexception
- Throws:
Scheherexception
declareArc
public void declareArc(InterpretativeArcType arc,
NodeAddress from,
NodeAddress to)
throws Scheherexception
- Throws:
Scheherexception
declareAttribute
public void declareAttribute(NodeAddress node,
java.lang.String att_name,
java.lang.String att_value)
throws Scheherexception
- Throws:
Scheherexception
toProlog
public java.lang.StringBuffer toProlog()
throws Scheherexception
- Throws:
Scheherexception
Copyright © 2011 David K. Elson. All Rights Reserved.