ilog.concert
Interface IloLinearIntExprIterator

All Superinterfaces:
java.util.Iterator

public interface IloLinearIntExprIterator
extends java.util.Iterator

Iterator for the linear terms of an IloLinearIntExpr expression object.


Method Summary
 int getValue()
          Returns the coefficient related to the IloIntVar accessed by the last call to the method next().
 ilog.concert.IloIntVar nextIntVar()
          Returns the IloIntVar of the next linear term in the scalar product.
 void setIntVar(ilog.concert.IloIntVar var)
          Sets the IloIntVar of the last linear term in the scalar product.
 void setValue(int value)
          Sets the coefficient related to the IloIntVar accessed by the last call to the method next().
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

nextIntVar

public ilog.concert.IloIntVar nextIntVar()
Returns the IloIntVar of the next linear term in the scalar product.


setIntVar

public void setIntVar(ilog.concert.IloIntVar var)
Sets the IloIntVar of the last linear term in the scalar product.


getValue

public int getValue()
Returns the coefficient related to the IloIntVar accessed by the last call to the method next().


setValue

public void setValue(int value)
Sets the coefficient related to the IloIntVar accessed by the last call to the method next().