Class ExpVectorIterator
java.lang.Object
edu.jas.ps.ExpVectorIterator
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionExpVectorIterator(int nv) ExpVector iterator constructor.protectedExpVectorIterator(int nv, boolean inf, long ub) ExpVector iterator constructor.ExpVectorIterator(int nv, long ub) ExpVector iterator constructor. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
current
ExpVector currentdata structure. -
liter
-
totalDegree
protected int totalDegree -
empty
protected boolean empty -
upperBound
final long upperBound -
infinite
final boolean infinite -
nvar
final int nvar
-
-
Constructor Details
-
ExpVectorIterator
public ExpVectorIterator(int nv) ExpVector iterator constructor.- Parameters:
nv- number of variables.
-
ExpVectorIterator
public ExpVectorIterator(int nv, long ub) ExpVector iterator constructor.- Parameters:
nv- number of variables.ub- upper bound for the components.
-
ExpVectorIterator
protected ExpVectorIterator(int nv, boolean inf, long ub) ExpVector iterator constructor.- Parameters:
nv- number of variables.inf- true, if all elements between 0 and upper bound are enumerated, false, if only elements of exact upper bund are to be processed.ub- an upper bound for the entries.
-
-
Method Details
-
hasNext
-
next
-
remove
-