| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include "potashnik_m_short_ways_bellford/seq/include/ops_seq.hpp" | ||
| 2 | |||
| 3 | #include <cmath> | ||
| 4 | #include <vector> | ||
| 5 | |||
| 6 | #include "potashnik_m_short_ways_bellford/common/include/common.hpp" | ||
| 7 | |||
| 8 | namespace potashnik_m_short_ways_bellford { | ||
| 9 | |||
| 10 |
1/2✓ Branch 1 taken 40 times.
✗ Branch 2 not taken.
|
40 | PotashnikMShortWaysBellfordSEQ::PotashnikMShortWaysBellfordSEQ(const InType &in) { |
| 11 | SetTypeOfTask(GetStaticTypeOfTask()); | ||
| 12 |
1/2✓ Branch 1 taken 40 times.
✗ Branch 2 not taken.
|
40 | GetInput() = in; |
| 13 | 40 | GetOutput() = OutType{}; | |
| 14 | 40 | } | |
| 15 | |||
| 16 | 40 | bool PotashnikMShortWaysBellfordSEQ::ValidationImpl() { | |
| 17 | 40 | return true; | |
| 18 | } | ||
| 19 | |||
| 20 | 40 | bool PotashnikMShortWaysBellfordSEQ::PreProcessingImpl() { | |
| 21 | 40 | return true; | |
| 22 | } | ||
| 23 | |||
| 24 | 40 | bool PotashnikMShortWaysBellfordSEQ::RunImpl() { | |
| 25 |
1/2✓ Branch 1 taken 40 times.
✗ Branch 2 not taken.
|
40 | std::vector<int> dist; |
| 26 |
1/2✓ Branch 1 taken 40 times.
✗ Branch 2 not taken.
|
40 | potashnik_m_short_ways_bellford::BellmanFordAlgoSeq(GetInput(), 0, dist); |
| 27 |
1/2✓ Branch 1 taken 40 times.
✗ Branch 2 not taken.
|
40 | GetOutput() = dist; |
| 28 | 40 | return true; | |
| 29 | } | ||
| 30 | |||
| 31 | 40 | bool PotashnikMShortWaysBellfordSEQ::PostProcessingImpl() { | |
| 32 | 40 | return true; | |
| 33 | } | ||
| 34 | |||
| 35 | } // namespace potashnik_m_short_ways_bellford | ||
| 36 |