org.matheclipse.combinatoric
Class MultisetPartitionsIterator
- java.lang.Object
-
- org.matheclipse.combinatoric.MultisetPartitionsIterator
-
public class MultisetPartitionsIterator extends java.lang.ObjectPartition an ordered multi-set and visit all steps of the algorithm with aIStepVisitor- See Also:
IStepVisitor
-
-
Constructor Summary
Constructors Constructor and Description MultisetPartitionsIterator(IStepVisitor visitor, int k)Partition an ordered multi-set and visit all steps of the algorithm with anIStepVisitor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanexecute()voidreset()
-
-
-
Constructor Detail
-
MultisetPartitionsIterator
public MultisetPartitionsIterator(IStepVisitor visitor, int k)
Partition an ordered multi-set and visit all steps of the algorithm with anIStepVisitor.- Parameters:
visitor- the visitor which controls the steps of the algorithmk- the number of partitioning the n elements into k parts
-
-
DMelt 3.0 © DataMelt by jWork.ORG