public class BinaryBottomUpRuleIndex extends BottomUpRuleIndex implements Serializable
Constructor and Description |
---|
BinaryBottomUpRuleIndex(TreeAutomaton auto) |
Modifier and Type | Method and Description |
---|---|
void |
foreachRuleForSets(IntSet labelIds,
List<IntSet> childStateSets,
SignatureMapper signatureMapper,
Consumer<Rule> fn) |
Collection<Rule> |
get(int labelId,
int[] childStates) |
Iterable<Rule> |
getAllRules() |
void |
setRules(Collection<Rule> rules,
int labelId,
int[] childStates) |
String |
toString() |
add, printStatistics
public BinaryBottomUpRuleIndex(TreeAutomaton auto)
public void setRules(Collection<Rule> rules, int labelId, int[] childStates)
setRules
in class BottomUpRuleIndex
public Collection<Rule> get(int labelId, int[] childStates)
get
in class BottomUpRuleIndex
public Iterable<Rule> getAllRules()
getAllRules
in class BottomUpRuleIndex
public void foreachRuleForSets(IntSet labelIds, List<IntSet> childStateSets, SignatureMapper signatureMapper, Consumer<Rule> fn)
foreachRuleForSets
in class BottomUpRuleIndex
Copyright © 2017. All rights reserved.