public class FlatOrderlessStepVisitor extends FlatStepVisitor implements org.matheclipse.combinatoric.IStepVisitor
MultisetPartitionsIterator
to match
flat and orderless expressions in pattern matching.PatternMatcher
,
MultisetPartitionsIterator
Modifier and Type | Field and Description |
---|---|
protected int[] |
multiset |
fLhsPatternAST, fOneIdentity, fPatternMap, fSymbol, patternValues, stackMatcher
Constructor and Description |
---|
FlatOrderlessStepVisitor(ISymbol sym,
IAST lhsPatternAST,
IAST lhsEvalAST,
PatternMatcher.StackMatcher stackMatcher,
PatternMap patternMap) |
FlatOrderlessStepVisitor(ISymbol sym,
IAST lhsPatternAST,
IAST lhsEvalAST,
PatternMatcher.StackMatcher stackMatcher,
PatternMap patternMap,
boolean oneIdentity) |
Modifier and Type | Method and Description |
---|---|
int[] |
getMultisetArray()
Get the sorted multi-set array indices, which should be transformed.
|
matchSinglePartition, visit
public FlatOrderlessStepVisitor(ISymbol sym, IAST lhsPatternAST, IAST lhsEvalAST, PatternMatcher.StackMatcher stackMatcher, PatternMap patternMap)
public FlatOrderlessStepVisitor(ISymbol sym, IAST lhsPatternAST, IAST lhsEvalAST, PatternMatcher.StackMatcher stackMatcher, PatternMap patternMap, boolean oneIdentity)
public int[] getMultisetArray()
org.matheclipse.combinatoric.AbstractListStepVisitor
getMultisetArray
in interface org.matheclipse.combinatoric.IStepVisitor
getMultisetArray
in class org.matheclipse.combinatoric.AbstractListStepVisitor<IExpr>
IStepVisitor.getMultisetArray()