Class EvaluationExpression
java.lang.Object
edu.cmu.tetrad.calculator.expression.EvaluationExpression
- All Implemented Interfaces:
- Expression,- TetradSerializable,- Serializable
An equation expression.
- Author:
- Tyler Gibson
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondoubleEvaluates the expression using the given contextorg.apache.commons.math3.distribution.IntegerDistributiongetIntegerDistribution(Context context) org.apache.commons.math3.distribution.RealDistributiongetRealDistribution(Context context) getToken()static EvaluationExpression
- 
Constructor Details- 
EvaluationExpression
 
- 
- 
Method Details- 
serializableInstance
- 
evaluateDescription copied from interface:ExpressionEvaluates the expression using the given context- Specified by:
- evaluatein interface- Expression
 
- 
getToken- Specified by:
- getTokenin interface- Expression
- Returns:
- the token for this expression=="+".
 
- 
getPosition- Specified by:
- getPositionin interface- Expression
- Returns:
- the position, infix or not.
 
- 
getExpressions- Specified by:
- getExpressionsin interface- Expression
- Returns:
- the sub expressions of this expression.
 
- 
getRealDistribution- Specified by:
- getRealDistributionin interface- Expression
 
- 
getIntegerDistributionpublic org.apache.commons.math3.distribution.IntegerDistribution getIntegerDistribution(Context context) - Specified by:
- getIntegerDistributionin interface- Expression
 
 
-