edu.swri.swiftvis
Class DataFormula.TernaryNode

java.lang.Object
  extended by edu.swri.swiftvis.DataFormula.TernaryNode
All Implemented Interfaces:
DataFormula.EquNode, java.io.Serializable
Enclosing class:
DataFormula

private class DataFormula.TernaryNode
extends java.lang.Object
implements DataFormula.EquNode


Field Summary
private  BooleanFormula cond
           
private  DataFormula.EquNode left
           
private  DataFormula.EquNode right
           
private static long serialVersionUID
           
 
Constructor Summary
DataFormula.TernaryNode(BooleanFormula bf, DataFormula.EquNode l, DataFormula.EquNode r)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 double eval(DataSink sink, int elem, int[] se)
           
 int[] getSafeElementRange(DataSink sink)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cond

private BooleanFormula cond

left

private DataFormula.EquNode left

right

private DataFormula.EquNode right

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

DataFormula.TernaryNode

public DataFormula.TernaryNode(BooleanFormula bf,
                               DataFormula.EquNode l,
                               DataFormula.EquNode r)
Method Detail

eval

public double eval(DataSink sink,
                   int elem,
                   int[] se)
Specified by:
eval in interface DataFormula.EquNode

getSafeElementRange

public int[] getSafeElementRange(DataSink sink)
Specified by:
getSafeElementRange in interface DataFormula.EquNode

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object