Class Primitives.DoubleVariable

java.lang.Object
weka.core.expressionlanguage.common.Primitives.DoubleVariable
All Implemented Interfaces:
Serializable, Primitives.DoubleExpression, Node
Enclosing class:
Primitives

public static class Primitives.DoubleVariable extends Object implements Primitives.DoubleExpression, Serializable
An AST node representing a double variable
Version:
$Revision: 1000 $
Author:
Benjamin Weber ( benweber at student dot ethz dot ch )
See Also:
  • Constructor Details

    • DoubleVariable

      public DoubleVariable(String name)
  • Method Details

    • evaluate

      public double evaluate()
      Specified by:
      evaluate in interface Primitives.DoubleExpression
    • getName

      public String getName()
    • getValue

      public double getValue()
    • setValue

      public void setValue(double value)