Class PostFilter
java.lang.Object
|
+--PostFilter
- public class PostFilter
- extends java.lang.Object
Post filter system used with 3dvr.
Field Summary |
protected DATA |
info
|
protected java.util.Random |
rand
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
info
protected DATA info
rand
protected java.util.Random rand
PostFilter
public PostFilter(DATA info)
- Constructor
process
public void process(TripleStack stack)
throws MissingFunctionException,
MalformStackException,
NoValidObjectException
- Post filter a triple stack based on 3D VR information.
This function requires a collapsed triple stack.
- Parameters:
stack
- The stack to filter.
prune
protected void prune(RelFunction function,
Variable target)
throws NoValidObjectException
- Prune a variable with a single argument relational function.
This method uses the query method of the relational function to
determine truth within the 3D VR. The variable that is passed
is assumed to be of type object. If not, the outcome is
undetermined.
- Parameters:
function
- Relational function to use.target
- Target variable.
prune
protected void prune(RelFunction function,
Variable target,
Variable reference)
throws NoValidObjectException
- Prune two variables with a doulbe argument relational function.
This method uses the query method of the relational function to
determine truth within the 3D VR. The variables that are passed
are assumed to be of type object. If not, the outcome is
undetermined.
- Parameters:
function
- Relational function to use.target
- Target variable.reference
- Reference variable for querying.