weka.core.expressionlanguage.common

## 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 and Description
    `Primitives.DoubleVariable(java.lang.String name)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `evaluate()`
    `java.lang.String` | `getName()`
    `double` | `getValue()`
    `void` | `setValue(double value)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Primitives.DoubleVariable

          public Primitives.DoubleVariable(java.lang.String name)

  - ### Method Detail

    - #### evaluate

          public double evaluate()

      Specified by:
        `evaluate` in interface `Primitives.DoubleExpression`

    - #### getName

          public java.lang.String getName()

    - #### getValue

          public double getValue()

    - #### setValue

          public void setValue(double value)