org.matheclipse.core.patternmatching
Class FlatOrderlessStepVisitor
- java.lang.Object
-
- org.matheclipse.combinatoric.AbstractListStepVisitor<IExpr>
-
- org.matheclipse.core.patternmatching.FlatStepVisitor
-
- org.matheclipse.core.patternmatching.FlatOrderlessStepVisitor
-
- All Implemented Interfaces:
- IStepVisitor
- Direct Known Subclasses:
- OrderlessStepVisitor
public class FlatOrderlessStepVisitor extends FlatStepVisitor implements IStepVisitor
This visitor is used in anMultisetPartitionsIteratorto match flat and orderless expressions in pattern matching.- See Also:
PatternMatcher,MultisetPartitionsIterator
-
-
Constructor Summary
Constructors Constructor and Description FlatOrderlessStepVisitor(ISymbol sym, IAST lhsPatternAST, IAST lhsEvalAST, org.matheclipse.core.patternmatching.PatternMatcher.StackMatcher stackMatcher, PatternMap patternMap)
-
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.-
Methods inherited from class org.matheclipse.core.patternmatching.FlatStepVisitor
visit
-
Methods inherited from class org.matheclipse.combinatoric.AbstractListStepVisitor
visit
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.matheclipse.combinatoric.IStepVisitor
visit, visit
-
-
-
-
Constructor Detail
-
FlatOrderlessStepVisitor
public FlatOrderlessStepVisitor(ISymbol sym, IAST lhsPatternAST, IAST lhsEvalAST, org.matheclipse.core.patternmatching.PatternMatcher.StackMatcher stackMatcher, PatternMap patternMap)
-
-
Method Detail
-
getMultisetArray
public int[] getMultisetArray()
Description copied from class:AbstractListStepVisitorGet the sorted multi-set array indices, which should be transformed.- Specified by:
getMultisetArrayin interfaceIStepVisitor- Overrides:
getMultisetArrayin classAbstractListStepVisitor<IExpr>- Returns:
- See Also:
IStepVisitor.getMultisetArray()
-
-
DMelt 3.0 © DataMelt by jWork.ORG