net.sourceforge.combean.mathprog.grooml
Class GSumExpression
An expression which is given by
- a set of index names (i.e. names of variables in the environment)
with sets of values
- an inner expression
When the expression is evaluated, one term for each possible setting of the
indices is generated.
Method Summary |
Iterator |
evaluate(Object env)
|
GSumExpression
public GSumExpression(Object bindDef, GExpression expr)
- Constructor
- params:
- idxMap maps index names (of type String) to sets
- params:
- expr the inner expression of the sum
evaluate
public Iterator evaluate(Object env)
-