Package | Description |
---|---|
net.sf.openschema |
Modifier and Type | Field and Description |
---|---|
protected OpenSchemaPlanner.Node |
OpenSchemaPlanner.DecoratedNode.node
The node being decorated.
|
protected OpenSchemaPlanner.Node |
OpenSchemaPlanner.Cache.Entry.node
The node which values are being cached.
|
protected OpenSchemaPlanner.Node |
OpenSchemaPlanner.top
Top-level node of the schema, here is where the instantiation starts.
|
Modifier and Type | Field and Description |
---|---|
protected Map<OpenSchemaPlanner.Node,List<OpenSchemaPlanner.Cache.Entry>> |
OpenSchemaPlanner.Cache.cache
The cache itself, as a map from nodes to Entry.
|
List<OpenSchemaPlanner.Node> |
OpenSchemaPlanner.Node.outgoing
Nodes that can be accessed from the current one.
|
Modifier and Type | Method and Description |
---|---|
OpenSchemaPlanner.Node |
OpenSchemaPlanner.DecoratedNode.getNode()
Get the node being decorated.
|
Modifier and Type | Method and Description |
---|---|
List<OpenSchemaPlanner.Node> |
OpenSchemaPlanner.Node.getOutgoing()
Access all nodes accessable from this node.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OpenSchemaPlanner.build(OpenSchemaPlanner.Node inNode,
OpenSchemaPlanner.Node outNode,
List<SchemaNode.Node> schemaNodes,
boolean isChoice)
Construct the network for a given construction in the schema language.
|
protected boolean |
OpenSchemaPlanner.canBeInstantiated(OpenSchemaPlanner.Node node,
Map<String,Frame> varMapping,
OpenSchemaPlanner.Cache cache,
Ontology ontology,
FrameSet frames)
Check whether there is valid data to instantiate a node or not, given an initial variable mapping.
|
protected List<OpenSchemaPlanner.DecoratedNode> |
OpenSchemaPlanner.computeConfusionSet(OpenSchemaPlanner.Node node,
Map<String,Frame> varMapping,
OpenSchemaPlanner.Cache cache,
Ontology ontology,
FrameSet frames)
Compute all the nodes that are reachable from current node without passing through another Predicate node.
|
protected void |
OpenSchemaPlanner.dump(StringBuilder dump,
OpenSchemaPlanner.Node current,
Set<OpenSchemaPlanner.Node> seen,
boolean asDot)
Recursive method for dump.
|
boolean |
OpenSchemaPlanner.Cache.Entry.equals(OpenSchemaPlanner.Node node,
Map<String,Frame> vars)
Check when the node and the variables are the same.
|
List<Map<Object,Frame>> |
OpenSchemaPlanner.Cache.fetch(OpenSchemaPlanner.Node node,
Map<String,Frame> vars)
Access the cache by searching for the list of values for this node and variables.
|
protected Map<String,Object> |
OpenSchemaPlanner.instantiatePredicate(OpenSchemaPlanner.Node node,
Map<String,Frame> varMapping,
OpenSchemaPlanner.Cache cache,
boolean commit)
Instantiate a predicate by fetching the values from the cache and resolving variables in the output FD of the
predicate.
|
void |
OpenSchemaPlanner.Node.linkTo(OpenSchemaPlanner.Node destination)
Add a link from the current node to the destination node.
|
void |
OpenSchemaPlanner.Cache.populate(OpenSchemaPlanner.Node node,
Map<String,Frame> vars,
List<Map<Object,Frame>> values)
Populate the cache entry for a node and variables with the values.
|
protected List<Map<Object,Frame>> |
OpenSchemaPlanner.searchValues(OpenSchemaPlanner.Node node,
Map<String,Frame> varMapping,
Ontology ontology,
FrameSet frames)
Search for values that satisfy the node properties and the given mapping of variables.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OpenSchemaPlanner.dump(StringBuilder dump,
OpenSchemaPlanner.Node current,
Set<OpenSchemaPlanner.Node> seen,
boolean asDot)
Recursive method for dump.
|
Constructor and Description |
---|
DecoratedNode(OpenSchemaPlanner.Node node)
Default constructor
|
DecoratedNode(OpenSchemaPlanner.Node node,
boolean aggrBoundary,
boolean parBoundary)
Initialized constructor.
|
Entry(OpenSchemaPlanner.Node node,
Map<String,Frame> vars)
Construct a new entry for a given node and global variables.
|
Copyright © 2015 Pablo Duboue. All rights reserved.