Rosetta Core  2014.35
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::ResidueType const &restype)
 
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_
 
core::chemical::ResidueType const & restype_
 

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::ResidueType const &  restype 
)
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()().

core::chemical::ResidueType const& core::chemical::RerootEdgeSorter::restype_
private

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