public class OrderlessStepVisitor extends FlatOrderlessStepVisitor implements org.matheclipse.combinatoric.IStepVisitor
MultisetPartitionsIterator to match orderless expressions in pattern matching.PatternMatcher,
MultisetPartitionsIteratormultisetfLhsPatternAST, fOneIdentity, fPatternMap, fSymbol, patternValues, stackMatcher| Constructor and Description |
|---|
OrderlessStepVisitor(ISymbol sym,
IAST lhsPatternAST,
IAST lhsEvalAST,
PatternMatcher.StackMatcher stackMatcher,
PatternMap patternMap,
boolean oneIdentity)
This visitor is used in an
MultisetPartitionsIterator to match orderless expressions in pattern matching. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
matchSinglePartition(int[][] result,
PatternMatcher.StackMatcher stackMatcher)
Match a single partition combination
|
getMultisetArrayvisitpublic OrderlessStepVisitor(ISymbol sym, IAST lhsPatternAST, IAST lhsEvalAST, PatternMatcher.StackMatcher stackMatcher, PatternMap patternMap, boolean oneIdentity)
MultisetPartitionsIterator to match orderless expressions in pattern matching. The
lhsPatternAST.size() must be equal to lhsEvalAST.size().PatternMatcher,
MultisetPartitionsIteratorprotected boolean matchSinglePartition(int[][] result,
PatternMatcher.StackMatcher stackMatcher)
FlatStepVisitormatchSinglePartition in class FlatStepVisitor