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
           
 
Constructor Summary
PostFilter(DATA info)
          Constructor
 
Method Summary
 void process(TripleStack stack)
          Post filter a triple stack based on 3D VR information.
protected  void prune(RelFunction function, Variable target)
          Prune a variable with a single argument relational function.
protected  void prune(RelFunction function, Variable target, Variable reference)
          Prune two variables with a doulbe argument relational function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

info

protected DATA info

rand

protected java.util.Random rand
Constructor Detail

PostFilter

public PostFilter(DATA info)
Constructor
Method Detail

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.