Package | Description |
---|---|
kb.hierarchy |
Classes for managing and manipulating type and relation hierarchies.
|
Modifier and Type | Class and Description |
---|---|
class |
TypeHierarchyNode
A node in a type hierarchy graph.
|
Modifier and Type | Field and Description |
---|---|
protected HashMap<Object,POSetNode> |
POSet.allnodes |
(package private) ArrayList<POSetNode> |
POSetNode.childNodes |
(package private) ArrayList<POSetNode> |
NodeOrderException.nodes |
(package private) ArrayList<POSetNode> |
POSetNode.parentNodes |
Modifier and Type | Method and Description |
---|---|
POSetNode |
POSet.getNodeByKey(Object posetKey)
Searches for the given value in the partially ordered set.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<POSetNode> |
POSetNode.getChildNodes() |
ArrayList<POSetNode> |
POSetNode.getParentNodes() |
Modifier and Type | Method and Description |
---|---|
boolean |
POSetNode.addChild(POSetNode node)
Add a child node to this one, unless it's already a child to this node
|
boolean |
POSet.addNode(POSetNode node)
Add a node to the poset without regard for position or order.
|
boolean |
POSetNode.addParent(POSetNode node)
Add a parent node to this one, unless it's already a parent to this node.
|
boolean |
POSet.deleteNode(POSetNode node)
Deletes a node from the poset.
|
boolean |
POSetNode.hasDirectChild(POSetNode node)
Looks to see if the argument node is a direct child to the caller's node
|
boolean |
POSetNode.hasDirectParent(POSetNode node)
Looks to see if the argument node is a direct parent to the target node
|
boolean |
POSetNode.hasIndirectChild(POSetNode node)
Looks to see if the argument node is a child (recursively) to the caller's node.
|
boolean |
POSetNode.hasIndirectParent(POSetNode node)
Looks to see if the argument node is a parent (recursively) to the target node.
|
boolean |
POSetNode.removeChild(POSetNode node)
Removes a child node from this one, as long as it's already there.
|
boolean |
POSetNode.removeParent(POSetNode node)
Removes a parent node from this one, unless it's not a parent to this node.
|
Constructor and Description |
---|
NodeOrderException(String s,
ArrayList<POSetNode> nodes) |