![]() |
Rosetta
2020.11
|
Edge sorting: Return true if we should prefer edge1 over edge2. More...
Public Member Functions | |
RerootEdgeSorter (core::chemical::ResidueGraph const &graph, core::chemical::MutableResidueType const &) | |
bool | operator() (core::chemical::ED edge1, core::chemical::ED edge2) |
Return true if the first argument goes before the second argument. More... | |
Private Attributes | |
core::chemical::ResidueGraph const & | graph_ |
Edge sorting: Return true if we should prefer edge1 over edge2.
This doesn't (need to?) quite match the logic in core/conformation/util.cc:setup_atom_links()
|
inline |
|
inline |
Return true if the first argument goes before the second argument.
References core::chemical::Bond::cut_bond(), graph_, core::chemical::Bond::is_fake(), core::chemical::Atom::is_hydrogen(), core::chemical::Atom::is_virtual(), and core::chemical::Atom::name().
|
private |
Referenced by operator()().