Rosetta  2020.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
core::chemical::RerootEdgeSorter Class Reference

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_
 

Detailed Description

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()

Constructor & Destructor Documentation

core::chemical::RerootEdgeSorter::RerootEdgeSorter ( core::chemical::ResidueGraph const &  graph,
core::chemical::MutableResidueType const &   
)
inline

Member Function Documentation

bool core::chemical::RerootEdgeSorter::operator() ( core::chemical::ED  edge1,
core::chemical::ED  edge2 
)
inline

Member Data Documentation

core::chemical::ResidueGraph const& core::chemical::RerootEdgeSorter::graph_
private

Referenced by operator()().


The documentation for this class was generated from the following file: