public class GensymBinaryRuleFactory extends Object implements BinaryRuleFactory
| Constructor and Description |
|---|
GensymBinaryRuleFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Function<InterpretedTreeAutomaton,BinaryRuleFactory> |
createFactoryFactory() |
Rule |
generateBinarizedRule(Tree<String> nodeInVartree,
List<String> binarizedChildStates,
String pathToNode,
Rule originalRule,
Tree<String> vartree,
InterpretedTreeAutomaton originalIrtg,
InterpretedTreeAutomaton binarizedIrtg)
Generates an automaton rule for a single node of the common variable tree.
|
public Rule generateBinarizedRule(Tree<String> nodeInVartree, List<String> binarizedChildStates, String pathToNode, Rule originalRule, Tree<String> vartree, InterpretedTreeAutomaton originalIrtg, InterpretedTreeAutomaton binarizedIrtg)
BinaryRuleFactorygenerateBinarizedRule in interface BinaryRuleFactorynodeInVartree - - the node in the variable tree at which we are generating a rulebinarizedChildStates - - the states that were generated for the childrenpathToNode - - the path from the root to this node in the variable tree (in a suitable format for Tree.select(java.lang.String, int))originalRule - - the rule in the original, unbinarized IRTGvartree - - the variable tree for which we are generating rulesoriginalIrtg - - the original, unbinarized IRTGbinarizedIrtg - - the binarized IRTG whose rules we are currently creatingpublic static Function<InterpretedTreeAutomaton,BinaryRuleFactory> createFactoryFactory()
Copyright © 2017. All rights reserved.