public PatternMatcher(Sequences sequences, LinkIndex[] patternSequence, HashSet<LinkIndex> results) : base(sequences) { _patternSequence = patternSequence; _linksInSequence = new HashSet<LinkIndex>(patternSequence.Where(x => x != Links.Null && x != ZeroOrMany)); _results = results; // TODO: Переместить в PatternMatcher _pattern = CreateDetailedPattern(); }
public Matcher(Sequences sequences, LinkIndex[] patternSequence, HashSet<LinkIndex> results) : base(sequences) { _patternSequence = patternSequence; _linksInSequence = new HashSet<LinkIndex>(patternSequence.Where(x => x != Links.Null && x != ZeroOrMany)); _results = results; }