Documentation of 'org.matheclipse.combinatoric.NumberPartitionsIterator' Java class
NumberPartitionsIterator
org.matheclipse.combinatoric

Class NumberPartitionsIterator



  • public class NumberPartitionsIterator
    extends java.lang.Object
    Partition a set and visit all steps of the algorithm with a IStepVisitor
    See Also:
    IStepVisitor
    • Constructor Summary

      Constructors 
      Constructor and Description
      NumberPartitionsIterator(IStepVisitor visitor, int n, int k)
      Partition an ordered multi-set and visit all steps of the algorithm with an IStepVisitor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean execute() 
      void reset() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NumberPartitionsIterator

        public NumberPartitionsIterator(IStepVisitor visitor,
                                        int n,
                                        int k)
        Partition an ordered multi-set and visit all steps of the algorithm with an IStepVisitor.
        Parameters:
        visitor - the visitor which controls the steps of the algorithm
        k - the number of partitioning the n elements into k parts
    • Method Detail

      • reset

        public void reset()
      • execute

        public boolean execute()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.