public abstract class BottomUpRuleIndex extends Object
Constructor and Description |
---|
BottomUpRuleIndex() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Rule rule)
Returns false if adding this rule makes the automaton bottom-up
nondeterministic.
|
abstract void |
foreachRuleForSets(IntSet labelIds,
List<IntSet> childStateSets,
SignatureMapper signatureMapper,
Consumer<Rule> fn) |
abstract Collection<Rule> |
get(int labelId,
int[] childStates) |
abstract Iterable<Rule> |
getAllRules() |
void |
printStatistics() |
abstract void |
setRules(Collection<Rule> rules,
int labelId,
int[] childStates) |
public abstract void setRules(Collection<Rule> rules, int labelId, int[] childStates)
public abstract Collection<Rule> get(int labelId, int[] childStates)
public boolean add(Rule rule)
rule
- public void printStatistics()
Copyright © 2017. All rights reserved.