|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.query.SimpleNode
anl.aida.query.ASTCount
public class ASTCount
Field Summary |
---|
Fields inherited from class anl.aida.query.SimpleNode |
---|
children, id, parent, parser |
Constructor Summary | |
---|---|
ASTCount(int id)
|
|
ASTCount(Parser p,
int id)
|
Method Summary | |
---|---|
double |
evaluate(Frame source)
Evaluates this Node and returns a double as a result. |
private double |
evaluateMultTerm(Frame source)
|
private double |
evaluateSingleTerm(Frame source)
|
java.lang.String |
getCacheKey()
|
Methods inherited from class anl.aida.query.SimpleNode |
---|
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ASTCount(int id)
public ASTCount(Parser p, int id)
Method Detail |
---|
public java.lang.String getCacheKey()
getCacheKey
in interface Node
getCacheKey
in class SimpleNode
private double evaluateSingleTerm(Frame source)
private double evaluateMultTerm(Frame source)
public double evaluate(Frame source)
SimpleNode
evaluate
in interface Node
evaluate
in class SimpleNode
source
- the source of any data needed during evaluation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |