- Timestamp:
- Apr 23, 2021, 8:55:19 PM (5 years ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- 5196ca
- Parents:
- 9171d8
- git-author:
- Frederik Heber <frederik.heber@…> (03/28/21 11:47:07)
- git-committer:
- Frederik Heber <frederik.heber@…> (04/23/21 20:55:19)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/GraphAction/ChemicalSpaceEvaluatorAction.cpp
r9171d8 rff2c52 299 299 } 300 300 301 302 bool compareEnergyContribution(303 const std::pair<const HomologyGraph, HomologyContainer::value_t> &a,304 const std::pair<const HomologyGraph, HomologyContainer::value_t> &b) {305 return a.second.energy < b.second.energy;306 }307 308 301 ActionState::ptr GraphChemicalSpaceEvaluatorAction::performCall() { 309 302 /// 1. create boost::graph from graph6 string … … 538 531 // list lowest energy 539 532 const HomologyContainer::const_iterator lowest_contribution_graph = 540 std::min_element(range.first, range.second, compareEnergyContribution);533 std::min_element(range.first, range.second, HomologyContainer::compareEnergyContribution); 541 534 const HomologyContainer::const_iterator highest_contribution_graph = 542 std::max_element(range.first, range.second, compareEnergyContribution);535 std::max_element(range.first, range.second, HomologyContainer::compareEnergyContribution); 543 536 LOG(2, "INFO: Fragment graph " << nodes_graph << " has energy contributions from " 544 537 << lowest_contribution_graph->second.energy << " Ht till "
Note:
See TracChangeset
for help on using the changeset viewer.
