Package edu.jas.util
Class CartesianProductLong
java.lang.Object
edu.jas.util.CartesianProductLong
Cartesian product for Long with iterator. Similar to CartesianProduct but
returns only tuples of given total degree.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCartesianProductLong
(List<LongIterable> comps, long ub) CartesianProduct constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
comps
data structure. -
upperBound
public final long upperBound
-
-
Constructor Details
-
CartesianProductLong
CartesianProduct constructor.- Parameters:
comps
- components of the Cartesian product.ub
- an upper bound for the total degree of the elements.
-
-
Method Details