|
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.base.automaton.AutomatonCloner<A,B>
public class AutomatonCloner<A,B>
AutomatonCloner is helper class, which does just what it's name says.
Given one automaton build with generic type it constructs automaton
build with generic type , when given class AutomatonClonerSymbolConverter.
It deeply clones = constructs the delta function, sets of states, mergedStates...
whole internal structure of automaton.
It can be used to convert from automaton with AbstractNode on transitions
to automaton with Regexp
Constructor Summary
AutomatonCloner()
Method Summary
void
convertAutomaton(Automaton<A> anotherAutomaton,
Automaton<B> newAutomaton,
AutomatonClonerSymbolConverter<A,B> symbolConverter)
Automaton<B>
convertAutomaton(Automaton<A> anotherAutomaton,
AutomatonClonerSymbolConverter<A,B> symbolConverter)
Map<State<B>,State<A>>
getReverseStateConversionMap()
Map<State<A>,State<B>>
getStateConversionMap()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
AutomatonCloner
public AutomatonCloner()
Method Detail
convertAutomaton
public Automaton<B> convertAutomaton(Automaton<A> anotherAutomaton,
AutomatonClonerSymbolConverter<A,B> symbolConverter)
convertAutomaton
public void convertAutomaton(Automaton<A> anotherAutomaton,
Automaton<B> newAutomaton,
AutomatonClonerSymbolConverter<A,B> symbolConverter)
getReverseStateConversionMap
public Map<State<B>,State<A>> getReverseStateConversionMap()
getStateConversionMap
public Map<State<A>,State<B>> getStateConversionMap()
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
jInfer
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Generated on Fri Dec 9 00:01:25 CET 2011