Class Primitives.DoubleVariable
- java.lang.Object
-
- weka.core.expressionlanguage.common.Primitives.DoubleVariable
-
- All Implemented Interfaces:
java.io.Serializable,Primitives.DoubleExpression,Node
- Enclosing class:
- Primitives
public static class Primitives.DoubleVariable extends java.lang.Object implements Primitives.DoubleExpression, java.io.Serializable
An AST node representing a double variable- Version:
- $Revision: 1000 $
- Author:
- Benjamin Weber ( benweber at student dot ethz dot ch )
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DoubleVariable(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleevaluate()java.lang.StringgetName()doublegetValue()voidsetValue(double value)
-
-
-
Method Detail
-
evaluate
public double evaluate()
- Specified by:
evaluatein interfacePrimitives.DoubleExpression
-
getName
public java.lang.String getName()
-
getValue
public double getValue()
-
setValue
public void setValue(double value)
-
-