|
@ -50,8 +50,9 @@ namespace storm { |
|
|
nodes.at(i) = bottom; |
|
|
nodes.at(i) = bottom; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
auto oldNodes = lattice->getNodes(); |
|
|
// Create all nodes
|
|
|
// Create all nodes
|
|
|
for (auto itr = lattice->getNodes().begin(); itr != lattice->getNodes().end(); ++itr) { |
|
|
|
|
|
|
|
|
for (auto itr = oldNodes.begin(); itr != oldNodes.end(); ++itr) { |
|
|
Node* oldNode = (*itr); |
|
|
Node* oldNode = (*itr); |
|
|
if (oldNode != nullptr) { |
|
|
if (oldNode != nullptr) { |
|
|
Node *newNode = new Node(); |
|
|
Node *newNode = new Node(); |
|
@ -65,7 +66,7 @@ namespace storm { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Create transitions
|
|
|
// Create transitions
|
|
|
for (auto itr = lattice->getNodes().begin(); itr != lattice->getNodes().end(); ++itr) { |
|
|
|
|
|
|
|
|
for (auto itr = oldNodes.begin(); itr != oldNodes.end(); ++itr) { |
|
|
Node* oldNode = (*itr); |
|
|
Node* oldNode = (*itr); |
|
|
if (oldNode != nullptr) { |
|
|
if (oldNode != nullptr) { |
|
|
auto state = (*itr)->states.getNextSetIndex(0); |
|
|
auto state = (*itr)->states.getNextSetIndex(0); |
|
|