|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jas.ps.ExpVectorIterable
public class ExpVectorIterable
Iterable for ExpVector, using total degree enumeration.
Field Summary | |
---|---|
protected long |
upperBound
|
Constructor Summary | |
---|---|
ExpVectorIterable(int nv)
Constructor. |
|
ExpVectorIterable(int nv,
boolean all,
long ub)
Constructor. |
|
ExpVectorIterable(int nv,
long ub)
Constructor. |
Method Summary | |
---|---|
long |
getUpperBound()
Get the upper bound for the iterator. |
java.util.Iterator<ExpVector> |
iterator()
Get an iterator over ExpVector. |
void |
setUpperBound(long ub)
Set the upper bound for the iterator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected long upperBound
Constructor Detail |
---|
public ExpVectorIterable(int nv)
nv
- number of variables.public ExpVectorIterable(int nv, long ub)
nv
- number of variables.ub
- upper bound for the components.public ExpVectorIterable(int nv, boolean all, long ub)
nv
- number of variables.all
- true, if all elements between 0 and upper bound are enumerated,
false, if only elements of exact upper bund are to be processed.ub
- upper bound for the components.Method Detail |
---|
public void setUpperBound(long ub)
ub
- an upper bound for the iterator elements.public long getUpperBound()
public java.util.Iterator<ExpVector> iterator()
iterator
in interface java.lang.Iterable<ExpVector>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |