File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
core/src/main/java/net/automatalib/automata/transducers/impl/compact Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,18 @@ public CompactMealy(Alphabet<I> alphabet) {
52
52
this (alphabet , DEFAULT_INIT_CAPACITY , DEFAULT_RESIZE_FACTOR );
53
53
}
54
54
55
+ public CompactMealy (CompactMealy <I , O > other ) {
56
+ super (other .getInputAlphabet (), other );
57
+ this .transitions = other .transitions .clone ();
58
+ this .outputs = other .outputs .clone ();
59
+ }
60
+
61
+ protected CompactMealy (Alphabet <I > alphabet , CompactMealy <I , O > other ) {
62
+ super (alphabet , other );
63
+ this .transitions = other .transitions .clone ();
64
+ this .outputs = other .outputs .clone ();
65
+ }
66
+
55
67
@ Override
56
68
protected void updateTransitionStorage (Payload payload ) {
57
69
this .transitions = updateTransitionStorage (this .transitions , AbstractCompact .INVALID_STATE , payload );
You can’t perform that action at this time.
0 commit comments