org.optimizationservices.oscommon.nonlinear
Class OSnLNodeVariable

java.lang.Object
  extended by org.optimizationservices.oscommon.nonlinear.OSnLNode
      extended by org.optimizationservices.oscommon.nonlinear.OSnLNodeVariable

public class OSnLNodeVariable
extends OSnLNode

The OSnLNodeVariable class represents a variable node in an expression tree. The variable can be treated as a unary operator with its index as a subscript operand of the "variable operator". If the variable index is a number, there is no operand node. The number is treated as the variables attribute. If the variable index is an integer-valued function or a look up from some data source, it is treated no different from a unary operator. It extends the abstract OSnLNode class and implements its abstract methods such as calculateFunction(double[]).

Since:
OS 1.0
Version:
1.0, 03/14/2004
Author:
Robert Fourer, Jun Ma, Kipp Martin
See Also:
org.optimizationservices.oscommon.nonlinear.OSExpressionTree;, org.optimizationservices.oscommon.nonlinear.OSnLNode;

Method Summary
 
Methods inherited from class org.optimizationservices.oscommon.nonlinear.OSnLNode
reLabelVariableIndices, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait