public class RuleRefinementNode extends Object
Constructor and Description |
---|
RuleRefinementNode() |
Modifier and Type | Method and Description |
---|---|
void |
addRefinement(RuleRefinementNode rrt) |
void |
appendLocalToString(TreeAutomaton<String> auto,
String prefix,
StringBuilder buf) |
boolean |
equals(Object obj) |
void |
foreachRule(Consumer<Rule> fn,
TreeAutomaton auto) |
int[] |
getChildren() |
IntSet |
getLabelSet() |
int |
getParent() |
List<RuleRefinementNode> |
getRefinements() |
int |
getRepresentativeLabel()
Returns an arbitrary label from this node's label set.
|
int |
getTermId() |
double |
getWeight() |
int |
hashCode() |
String |
localToString(TreeAutomaton<String> auto) |
String |
toString(TreeAutomaton<String> auto) |
public void addRefinement(RuleRefinementNode rrt)
public void foreachRule(Consumer<Rule> fn, TreeAutomaton auto)
public int getParent()
public IntSet getLabelSet()
public int getTermId()
public int getRepresentativeLabel()
public int[] getChildren()
public double getWeight()
public List<RuleRefinementNode> getRefinements()
public String localToString(TreeAutomaton<String> auto)
public void appendLocalToString(TreeAutomaton<String> auto, String prefix, StringBuilder buf)
public String toString(TreeAutomaton<String> auto)
Copyright © 2017. All rights reserved.