- Timestamp:
- Aug 14, 2017, 8:12:49 AM (8 years ago)
- Branches:
- ForceAnnealing_with_BondGraph_continued
- Children:
- a6574a
- Parents:
- 0cc08c
- git-author:
- Frederik Heber <frederik.heber@…> (08/10/17 15:35:45)
- git-committer:
- Frederik Heber <frederik.heber@…> (08/14/17 08:12:49)
- File:
-
- 1 edited
-
src/Graph/BoostGraphCreator.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Graph/BoostGraphCreator.hpp
r0cc08c r08df4a 165 165 bool removeEdge(const atomId_t &_firstid, const atomId_t &_secondid); 166 166 167 /** Allows to remove a present edge in the graph. 168 * 169 * \param _bondids pair of bond ids 170 * \return true - edge found and removed, false - else 171 */ 172 bool removeEdge(const std::pair<atomId_t, atomId_t> &_bondids) 173 { return removeEdge(_bondids.first, _bondids.second); } 174 167 175 /** Adds an edge to the graph if not already present. 168 176 * … … 172 180 */ 173 181 bool addEdge(const atomId_t &_firstid, const atomId_t &_secondid); 182 183 /** Adds an edge to the graph if not already present. 184 * 185 * \param _bondids pair of bond ids 186 * \return true - edge not found thus added, false - else 187 */ 188 bool addEdge(const std::pair<atomId_t, atomId_t> &_bondids) 189 { return addEdge(_bondids.first, _bondids.second); } 174 190 175 191 private:
Note:
See TracChangeset
for help on using the changeset viewer.
