anl.aida.parser
Class AggregateFuncNode

java.lang.Object
  extended by anl.aida.parser.SimpleNode
      extended by anl.aida.parser.AggregateFuncNode
All Implemented Interfaces:
Node
Direct Known Subclasses:
ASTMaxt, ASTMaxx, ASTMaxy, ASTMaxz, ASTMean, ASTMint, ASTMinx, ASTMiny, ASTMinz, ASTSum

public abstract class AggregateFuncNode
extends SimpleNode

Version:
$Revision$ $Date$

Field Summary
 
Fields inherited from class anl.aida.parser.SimpleNode
children, DEG_TO_RAD_FACTOR, id, info, parent, parser
 
Constructor Summary
AggregateFuncNode(int i)
           
AggregateFuncNode(Parser p, int i)
           
 
Method Summary
 void gatherInfo(ASTTreeInfo info)
          Sets has aggregates on the tree info object to true.
protected  int max(int indexVal, Frame frame)
           
protected  int min(int indexVal, Frame frame)
           
 
Methods inherited from class anl.aida.parser.SimpleNode
dump, evaluate, getInfo, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, preprocess, setInfo, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AggregateFuncNode

public AggregateFuncNode(int i)

AggregateFuncNode

public AggregateFuncNode(Parser p,
                         int i)
Method Detail

gatherInfo

public void gatherInfo(ASTTreeInfo info)
Sets has aggregates on the tree info object to true.

Overrides:
gatherInfo in class SimpleNode
Parameters:
info - collection of tree info

min

protected int min(int indexVal,
                  Frame frame)
           throws IllegalFormulaException
Throws:
IllegalFormulaException

max

protected int max(int indexVal,
                  Frame frame)
           throws IllegalFormulaException
Throws:
IllegalFormulaException