KnowledgeBase
Class DependencyNode
java.lang.Object
|
+--KnowledgeBase.DependencyNode
- public class DependencyNode
- extends java.lang.Object
Defines a dependency node in the knowledge base.
See the dissertation document and KnowledgeBaseParser.jj for complete details.
- Version:
- Created 18 July 2003
- Author:
- Dan Tappan
- See Also:
KnowledgeBase
|
Constructor Summary |
DependencyNode(int function_code,
java.util.ArrayList parameters,
java.util.ArrayList inferences,
java.util.ArrayList constraints,
DependencyNode late_dependency_node)
Creates a new DependencyNode as specified by the knowledge-base parser.
|
|
Method Summary |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BOOLEAN_TRUE
public static final java.lang.String BOOLEAN_TRUE
- See Also:
- Constant Field Values
BOOLEAN_FALSE
public static final java.lang.String BOOLEAN_FALSE
- See Also:
- Constant Field Values
function_code
public int function_code
function_name
public java.lang.String function_name
parameters
public java.util.ArrayList parameters
inferences
public java.util.ArrayList inferences
constraints
public java.util.ArrayList constraints
late_dependency_node
public DependencyNode late_dependency_node
DependencyNode
public DependencyNode(int function_code,
java.util.ArrayList parameters,
java.util.ArrayList inferences,
java.util.ArrayList constraints,
DependencyNode late_dependency_node)
- Creates a new DependencyNode as specified by the knowledge-base parser.
See the dissertation document for details on how these parameters are defined and used.
- Parameters:
function_code - - the dependency-function codeparameters - - the parametersinferences - - the inferences contingent on this dependencyconstraints - - the constraints contingent on this dependencylate_dependency_node - - any late dependency contingent on this dependency, or null if none- See Also:
KnowledgeBaseParserConstants
toString
public java.lang.String toString()
- Returns a string representation of this object.
- Overrides:
toString in class java.lang.Object
- Returns:
- the String representation
- See Also:
Support.toPrettyString(java.lang.String)