|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.mff.ksi.jinfer.twostep.processing.automatonmergingstate.AutomatonMergingState
public class AutomatonMergingState
Extensible implementation of merging state algorithm. Class providing method for inferring DTD for single element. In this implementation nondeterministic finite automaton is used.
First prefix-tree automaton is constructed using cluster members as positive
examples. Then, given AutomatonSimplifier
, merging of states occurs.
After that, automaton is passed to RegexpAutomatonSimplifier
to obtain
regular expression from it.
Constructor Summary | |
---|---|
AutomatonMergingState(AutomatonSimplifierFactory automatonSimplifierFactory,
RegexpAutomatonSimplifierFactory regexpAutomatonSimplifierFactory)
Construct and set all submodule factories. |
Method Summary | |
---|---|
AbstractStructuralNode |
processCluster(Clusterer<AbstractStructuralNode> clusterer,
List<AbstractStructuralNode> rules)
Do the job - given clusterer and rules, process rules to obtain one representative |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutomatonMergingState(AutomatonSimplifierFactory automatonSimplifierFactory, RegexpAutomatonSimplifierFactory regexpAutomatonSimplifierFactory)
automatonSimplifierFactory
- factory of AutomatonSimplifier
submodule.regexpAutomatonSimplifierFactory
- factory of RegexpAutomatonSimplifier
submodule.Method Detail |
---|
public AbstractStructuralNode processCluster(Clusterer<AbstractStructuralNode> clusterer, List<AbstractStructuralNode> rules) throws InterruptedException
ClusterProcessor
processCluster
in interface ClusterProcessor<AbstractStructuralNode>
clusterer
- used to cluster rulesrules
- of one cluster to process
InterruptedException
|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |