Uses of Class
edu.uky.ai.io.Node
Package | Description |
---|---|
edu.uky.ai.io |
Contains utilities for reading and writing AI problems and the algorithms
that solve them.
|
-
Uses of Node in edu.uky.ai.io
Subclasses of Node in edu.uky.ai.io Modifier and Type Class Description class
List
A list is a collection of 0 to many nodes.class
Symbol
A symbol is a string of characters.Fields in edu.uky.ai.io declared as Node Modifier and Type Field Description Node
List. first
The first elerment in this listNode
Node. next
The node that follows this node (i.e.Methods in edu.uky.ai.io that return Node Modifier and Type Method Description static Node
Node. parse(java.io.File file)
Parse a given file as a node.static Node
Node. parse(java.lang.String string)
Parse a given string as a node.Node
List. requireFirst()
Returns the first element in the list or throws an exception if no such element exists.Node
Node. requireNext()
Returns the node's next sibling or throws an exception if no such node exists.Methods in edu.uky.ai.io with parameters of type Node Modifier and Type Method Description E
ObjectParser. parse(Node node, Parser parser)
Converts the given node into an object of type E.<E> E
Parser. parse(Node node, java.lang.Class<? extends E> type, java.lang.Class<? extends E>... types)
Parses a givenNode
according to the rules defined by this parser and returns the object created.