Module net.automatalib.util
Class AbstractLowLevelAutomatonCopier<S1,I1,T1,S2,I2,T2,SP2,TP2,TS1 extends TransitionSystem<S1,? super I1,T1>>
java.lang.Object
net.automatalib.util.automaton.copy.AbstractLowLevelAutomatonCopier<S1,I1,T1,S2,I2,T2,SP2,TP2,TS1>
- All Implemented Interfaces:
LowLevelAutomatonCopier<S1,S2>
public abstract class AbstractLowLevelAutomatonCopier<S1,I1,T1,S2,I2,T2,SP2,TP2,TS1 extends TransitionSystem<S1,? super I1,T1>>
extends Object
implements LowLevelAutomatonCopier<S1,S2>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final TS1protected final Collection<? extends I1>protected final MutableMapping<S1,S2> protected final TransitionPredicate<? super S1,? super I1, ? super T1> -
Constructor Summary
ConstructorsConstructorDescriptionAbstractLowLevelAutomatonCopier(TS1 in, Collection<? extends I1> inputs, MutableAutomaton<S2, I2, T2, ? super SP2, ? super TP2> out, Function<? super I1, ? extends I2> inputsMapping, Function<? super S1, ? extends SP2> spMapping, Function<? super T1, ? extends TP2> tpMapping, Predicate<? super S1> stateFilter, TransitionPredicate<? super S1, ? super I1, ? super T1> transFilter) -
Method Summary
Modifier and TypeMethodDescriptionprotected S2copyInitialState(S1 s1) protected S2copyTransitionChecked(S2 src2, I2 input2, T1 trans1, S1 succ1) protected voidcopyTransitions(S2 src2, I2 input2, Iterator<? extends T1> transitions1It) abstract voiddoCopy()protected final void
-
Field Details
-
in
-
inputs
-
out
-
stateMapping
-
inputsMapping
-
spMapping
-
tpMapping
-
stateFilter
-
transFilter
-
-
Constructor Details
-
AbstractLowLevelAutomatonCopier
public AbstractLowLevelAutomatonCopier(TS1 in, Collection<? extends I1> inputs, MutableAutomaton<S2, I2, T2, ? super SP2, ? super TP2> out, Function<? super I1, ? extends I2> inputsMapping, Function<? super S1, ? extends SP2> spMapping, Function<? super T1, ? extends TP2> tpMapping, Predicate<? super S1> stateFilter, TransitionPredicate<? super S1, ? super I1, ? super T1> transFilter)
-
-
Method Details
-
copyInitialState
-
copyTransitions
-
copyTransitionChecked
-
copyState
-
doCopy
public abstract void doCopy()- Specified by:
doCopyin interfaceLowLevelAutomatonCopier<S1,I1>
-
getStateMapping
- Specified by:
getStateMappingin interfaceLowLevelAutomatonCopier<S1,I1>
-
updateInitials
protected final void updateInitials()
-