| 361 | } |
| 362 | |
| 363 | TOPPASVertex::SUBSTREESTATUS TOPPASVertex::getSubtreeStatus() const |
| 364 | { |
| 365 | if (!this->isFinished()) |
| 366 | { |
| 367 | return TV_UNFINISHED; |
| 368 | } |
| 369 | if (!this->isUpstreamFinished()) |
| 370 | { |
| 371 | return TV_UNFINISHED_INBRANCH; // only looks for immediate predecessors! |
| 372 | } |
| 373 | for (ConstEdgeIterator it = outEdgesBegin(); it != outEdgesEnd(); ++it) |
| 374 | { |
| 375 | SUBSTREESTATUS status = (*it)->getTargetVertex()->getSubtreeStatus(); |
| 376 | if (status != TV_ALLFINISHED) |
| 377 | { |
| 378 | return status; |
| 379 | } |
| 380 | } |
| 381 | return TV_ALLFINISHED; |
| 382 | } |
| 383 | |
| 384 | const TOPPASVertex::RoundPackages& TOPPASVertex::getOutputFiles() const |
| 385 | { |
no test coverage detected