Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
protocols::legacy_sewing::SegmentGraph Class Reference

#include <Model.hh>

Inheritance diagram for protocols::legacy_sewing::SegmentGraph:
Inheritance graph
[legend]

Public Member Functions

void add_connection (core::Size i, core::Size j)
 
core::Size c_segment (core::Size ind) const
 
core::Size n_segment (core::Size ind) const
 
bool has_next (core::Size ind) const
 
void insert_connected_segment (SewSegment segment, core::Size ind)
 
std::set< SewSegmenterase_segments (std::set< SewSegment > segments_to_erase)
 
core::Size next (core::Size ind) const
 
core::Size previous (core::Size ind) const
 
bool has_previous (core::Size ind) const
 
std::map< core::Size, core::Sizeforward_connections () const
 
std::map< core::Size, core::Sizereverse_connections () const
 
void reorder (utility::vector1< core::Size > new_order)
 
void clear_connections ()
 

Private Attributes

std::map< core::Size, core::Sizeforward_connections_
 
std::map< core::Size, core::Sizereverse_connections_
 

Detailed Description

Simple wrapper around a vector1 of SewSegments, which maintains connection information.

Member Function Documentation

void protocols::legacy_sewing::SegmentGraph::add_connection ( core::Size  i,
core::Size  j 
)
core::Size protocols::legacy_sewing::SegmentGraph::c_segment ( core::Size  ind) const
void protocols::legacy_sewing::SegmentGraph::clear_connections ( )
std::set< SewSegment > protocols::legacy_sewing::SegmentGraph::erase_segments ( std::set< SewSegment segments_to_erase)
std::map< core::Size, core::Size > protocols::legacy_sewing::SegmentGraph::forward_connections ( ) const
bool protocols::legacy_sewing::SegmentGraph::has_next ( core::Size  ind) const
bool protocols::legacy_sewing::SegmentGraph::has_previous ( core::Size  ind) const
void protocols::legacy_sewing::SegmentGraph::insert_connected_segment ( SewSegment  segment,
core::Size  ind 
)
core::Size protocols::legacy_sewing::SegmentGraph::n_segment ( core::Size  ind) const

References reverse_connections_.

core::Size protocols::legacy_sewing::SegmentGraph::next ( core::Size  ind) const
core::Size protocols::legacy_sewing::SegmentGraph::previous ( core::Size  ind) const
void protocols::legacy_sewing::SegmentGraph::reorder ( utility::vector1< core::Size new_order)
std::map< core::Size, core::Size > protocols::legacy_sewing::SegmentGraph::reverse_connections ( ) const

References reverse_connections_.

Member Data Documentation

std::map<core::Size, core::Size> protocols::legacy_sewing::SegmentGraph::forward_connections_
private
std::map<core::Size, core::Size> protocols::legacy_sewing::SegmentGraph::reverse_connections_
private

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