V
- public class CondensedRuleTrie extends Object
Constructor and Description |
---|
CondensedRuleTrie() |
Modifier and Type | Method and Description |
---|---|
Iterable<CondensedRule> |
get(int[] childStates) |
Set<CondensedRule> |
get(int[] childstates,
int labelSetID)
Returns a set of values, that is mapped to the final state
we reach with the sequence of transitions in childstates.
|
IntSet |
getBranches()
Returns an IntSet with the symbols for all outgoing transitions.
|
IntSet |
getParents(int labelSetID) |
IntSet |
getStoredKeys() |
CondensedRuleTrie |
getSubtrie(int id)
Returns the subtrie that we reach with a transition with the given
symbol.
|
void |
put(int[] childstates,
int labelSetID,
CondensedRule rule)
Stores a sequence of ints (the Array) in the Trie
and maps the final state to the given rule.
|
public void put(int[] childstates, int labelSetID, CondensedRule rule)
childstates
- rule
- public Set<CondensedRule> get(int[] childstates, int labelSetID)
childstates
- public CondensedRuleTrie getSubtrie(int id)
id
- public IntSet getParents(int labelSetID)
public IntSet getStoredKeys()
public IntSet getBranches()
public Iterable<CondensedRule> get(int[] childStates)
Copyright © 2017. All rights reserved.