org.matheclipse.combinatoric
Interface IStepVisitor
-
- All Known Implementing Classes:
- AbstractListStepVisitor, AbstractMultisetStepVisitor, AbstractMultsetIntStepVisitor, FlatOrderlessStepVisitor, FlatStepVisitor, OrderlessStepVisitor
public interface IStepVisitor
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
visit
boolean visit(int[][] result)
Get the current result of the combinatorics algorithm step.- Parameters:
result-- Returns:
falseif the combinatorics algorithm should stop immediately;trueotherwise.
-
visit
boolean visit(int[] result)
Get the current result of the combinatorics algorithm step.- Parameters:
result-- Returns:
falseif the combinatorics algorithm should stop immediately;trueotherwise.
-
getMultisetArray
int[] getMultisetArray()
Get the sorted multi-set array indices, which should be transformed.- Returns:
-
-
DMelt 3.0 © DataMelt by jWork.ORG