-
Notifications
You must be signed in to change notification settings - Fork 4
Change street evolution loop #262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #262 +/- ##
==========================================
- Coverage 90.56% 90.54% -0.02%
==========================================
Files 37 37
Lines 4898 4899 +1
Branches 452 453 +1
==========================================
Hits 4436 4436
- Misses 462 463 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
| } | ||
| for (auto i = 0; i < pStreet->transportCapacity(); ++i) { | ||
| this->m_evolveStreet(pStreet, reinsert_agents); | ||
| for (auto const& [nodeId, _] : this->m_graph.nodeSet()) { |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.3 rule Note
| for (auto i = 0; i < pStreet->transportCapacity(); ++i) { | ||
| this->m_evolveStreet(pStreet, reinsert_agents); | ||
| for (auto const& [nodeId, _] : this->m_graph.nodeSet()) { | ||
| for (auto const& [streetId, _] : this->m_graph.adjMatrix().getCol(nodeId, true)) { |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 14.4 rule Note
| for (auto i = 0; i < pStreet->transportCapacity(); ++i) { | ||
| this->m_evolveStreet(pStreet, reinsert_agents); | ||
| for (auto const& [nodeId, _] : this->m_graph.nodeSet()) { | ||
| for (auto const& [streetId, _] : this->m_graph.adjMatrix().getCol(nodeId, true)) { |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.3 rule Note
| Street s2{1, std::make_pair(2, 1), 10., 10.}; | ||
| Street s3{2, std::make_pair(1, 0), 10., 10.}; | ||
| Street s4{3, std::make_pair(1, 2), 10., 10.}; | ||
| Street s1{1, std::make_pair(0, 1), 10., 10.}; |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.3 rule Note test
| Street s3{2, std::make_pair(1, 0), 10., 10.}; | ||
| Street s4{3, std::make_pair(1, 2), 10., 10.}; | ||
| Street s1{1, std::make_pair(0, 1), 10., 10.}; | ||
| Street s2{7, std::make_pair(2, 1), 10., 10.}; |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.3 rule Note test
| Street s4{3, std::make_pair(1, 2), 10., 10.}; | ||
| Street s1{1, std::make_pair(0, 1), 10., 10.}; | ||
| Street s2{7, std::make_pair(2, 1), 10., 10.}; | ||
| Street s3{3, std::make_pair(1, 0), 10., 10.}; |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.3 rule Note test
| Street s1{1, std::make_pair(0, 1), 10., 10.}; | ||
| Street s2{7, std::make_pair(2, 1), 10., 10.}; | ||
| Street s3{3, std::make_pair(1, 0), 10., 10.}; | ||
| Street s4{5, std::make_pair(1, 2), 10., 10.}; |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.3 rule Note test
| Street s01{1, std::make_pair(0, 1), 2281.}; | ||
| Street s12{7, std::make_pair(1, 2), 118.}; | ||
| Street s23{13, std::make_pair(2, 3), 222.}; | ||
| Street s01{1, std::make_pair(0, 1), 2281., 13.9, 2}; |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.3 rule Note
| Street s12{7, std::make_pair(1, 2), 118.}; | ||
| Street s23{13, std::make_pair(2, 3), 222.}; | ||
| Street s01{1, std::make_pair(0, 1), 2281., 13.9, 2}; | ||
| Street s12{7, std::make_pair(1, 2), 118., 13.9, 2}; |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.3 rule Note
| Street s23{13, std::make_pair(2, 3), 222.}; | ||
| Street s01{1, std::make_pair(0, 1), 2281., 13.9, 2}; | ||
| Street s12{7, std::make_pair(1, 2), 118., 13.9, 2}; | ||
| Street s23{13, std::make_pair(2, 3), 222., 13.9, 2}; |
Check notice
Code scanning / Cppcheck (reported by Codacy)
MISRA 12.3 rule Note
No description provided.