|
|
@ -69,6 +69,9 @@ public abstract class ModelExplicit implements Model |
|
|
for (int in : model.initialStates) { |
|
|
for (int in : model.initialStates) { |
|
|
addInitialState(in); |
|
|
addInitialState(in); |
|
|
} |
|
|
} |
|
|
|
|
|
for (int dl : model.deadlocks) { |
|
|
|
|
|
addDeadlockState(dl); |
|
|
|
|
|
} |
|
|
// Shallow copy of read-only stuff |
|
|
// Shallow copy of read-only stuff |
|
|
statesList = model.statesList; |
|
|
statesList = model.statesList; |
|
|
constantValues = model.constantValues; |
|
|
constantValues = model.constantValues; |
|
|
@ -87,6 +90,9 @@ public abstract class ModelExplicit implements Model |
|
|
for (int in : model.initialStates) { |
|
|
for (int in : model.initialStates) { |
|
|
addInitialState(permut[in]); |
|
|
addInitialState(permut[in]); |
|
|
} |
|
|
} |
|
|
|
|
|
for (int dl : model.deadlocks) { |
|
|
|
|
|
addDeadlockState(permut[dl]); |
|
|
|
|
|
} |
|
|
// Shallow copy of (some) read-only stuff |
|
|
// Shallow copy of (some) read-only stuff |
|
|
// (i.e. info that is not broken by permute) |
|
|
// (i.e. info that is not broken by permute) |
|
|
statesList = null; |
|
|
statesList = null; |
|
|
|