public class CartesianProductLong extends java.lang.Object implements java.lang.Iterable<java.util.List<java.lang.Long>>
| Modifier and Type | Field and Description |
|---|---|
java.util.List<LongIterable> |
comps
data structure.
|
long |
upperBound |
| Constructor and Description |
|---|
CartesianProductLong(java.util.List<LongIterable> comps,
long ub)
CartesianProduct constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<java.util.List<java.lang.Long>> |
iterator()
Get an iterator over subsets.
|
public final java.util.List<LongIterable> comps
public final long upperBound
public CartesianProductLong(java.util.List<LongIterable> comps, long ub)
comps - components of the Cartesian product.ub - an upper bound for the total degree of the elements.public java.util.Iterator<java.util.List<java.lang.Long>> iterator()
iterator in interface java.lang.Iterable<java.util.List<java.lang.Long>>