org.matheclipse.combinatoric
Class AbstractMultsetIntStepVisitor
- java.lang.Object
-
- org.matheclipse.combinatoric.AbstractMultsetIntStepVisitor
-
- All Implemented Interfaces:
- IStepVisitor
public abstract class AbstractMultsetIntStepVisitor extends java.lang.Object implements IStepVisitor
Abstract step visitor forintmultisets.
-
-
Constructor Summary
Constructors Constructor and Description AbstractMultsetIntStepVisitor(int[] multiset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int[]getMultisetArray()Get the sorted multi-set array indices, which should be transformed.booleanvisit(int[] result)Get the current result of the combinatorics algorithm step.booleanvisit(int[][] result)Get the current result of the combinatorics algorithm step.
-
-
-
Constructor Detail
-
AbstractMultsetIntStepVisitor
public AbstractMultsetIntStepVisitor(int[] multiset)
-
-
Method Detail
-
visit
public boolean visit(int[][] result)
Get the current result of the combinatorics algorithm step.- Specified by:
visitin interfaceIStepVisitor- Returns:
falseif the combinatorics algorithm should stop immediately;trueotherwise.- See Also:
IStepVisitor.visit(int[][])
-
visit
public boolean visit(int[] result)
Get the current result of the combinatorics algorithm step.- Specified by:
visitin interfaceIStepVisitor- Returns:
falseif the combinatorics algorithm should stop immediately;trueotherwise.- See Also:
IStepVisitor.visit(int[][])
-
getMultisetArray
public int[] getMultisetArray()
Description copied from interface:IStepVisitorGet the sorted multi-set array indices, which should be transformed.- Specified by:
getMultisetArrayin interfaceIStepVisitor- Returns:
-
-
DMelt 3.0 © DataMelt by jWork.ORG