|
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.simplifying.heuristicmdl.HeuristicMDL<T>
public class HeuristicMDL<T>
HeuristicMDL simplifier, given MergeContitionTester
, will merge all states
that tester returns as equivalent.
It will ask the tester for capability "parameters".
When the tester is one from known, it will set parameters to it according
to user preference. If it is not known, it is created with factory,
so tester have to have some reasonable default parameter setting or own
properties panel for user to enter defaults.
Constructor Summary | |
---|---|
HeuristicMDL(MergeConditionTesterFactory mergeConditionTesterFactory,
AutomatonEvaluatorFactory evaluatorFactory)
Create with factory of MergeConditionTester selected. |
|
HeuristicMDL(MergeConditionTesterFactory mergeConditionTesterFactory,
AutomatonEvaluatorFactory evaluatorFactory,
Properties properties)
Create with factory of MergeConditionTester selected. |
Method Summary | |
---|---|
Automaton<T> |
simplify(Automaton<T> inputAutomaton,
SymbolToString<T> symbolToString)
Simplify an automaton. |
Automaton<T> |
simplify(Automaton<T> inputAutomaton,
SymbolToString<T> symbolToString,
List<List<T>> inputStrings)
Simplify by merging states greedily. |
Automaton<T> |
simplify(Automaton<T> inputAutomaton,
SymbolToString<T> symbolToString,
String elementName)
Simplify an automaton. |
Automaton<T> |
simplify(Automaton<T> inputAutomaton,
SymbolToString<T> symbolToString,
String elementName,
List<List<T>> inputStrings)
Same as above. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeuristicMDL(MergeConditionTesterFactory mergeConditionTesterFactory, AutomatonEvaluatorFactory evaluatorFactory)
MergeConditionTester
selected.
Without parameters capability!
mergeConditionTesterFactory
- factory for {link MergeConditionTester} to use in simplifying.public HeuristicMDL(MergeConditionTesterFactory mergeConditionTesterFactory, AutomatonEvaluatorFactory evaluatorFactory, Properties properties)
MergeConditionTester
selected.
mergeConditionTesterFactory
- factory for {link MergeConditionTester} to use in simplifying.properties
- project properties (from which it takes parameter values).Method Detail |
---|
public Automaton<T> simplify(Automaton<T> inputAutomaton, SymbolToString<T> symbolToString, List<List<T>> inputStrings) throws InterruptedException
simplify
in interface AutomatonSimplifier<T>
inputAutomaton
- automaton to modifysymbolToString
- edge label to string converter
InterruptedException
public Automaton<T> simplify(Automaton<T> inputAutomaton, SymbolToString<T> symbolToString, String elementName, List<List<T>> inputStrings) throws InterruptedException
simplify
in interface AutomatonSimplifier<T>
inputAutomaton
- automaton to modifysymbolToString
- edge label to string converterelementName
- name of element (cluster) we process right now, to be presented to user
InterruptedException
public Automaton<T> simplify(Automaton<T> inputAutomaton, SymbolToString<T> symbolToString) throws InterruptedException
AutomatonSimplifier
simplify
in interface AutomatonSimplifier<T>
inputAutomaton
- automaton to processsymbolToString
- converter of symbols (of type T) to string - for rendering automaton to user
InterruptedException
public Automaton<T> simplify(Automaton<T> inputAutomaton, SymbolToString<T> symbolToString, String elementName) throws InterruptedException
AutomatonSimplifier
simplify
in interface AutomatonSimplifier<T>
inputAutomaton
- automaton to processsymbolToString
- converter of symbols (of type T) to string - for rendering automaton to user
InterruptedException
|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |