Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
protocols::cluster::Cluster Struct Reference

#include <cluster.hh>

Public Member Functions

 Cluster ()
 
 Cluster (int new_cluster_center)
 
int get_cluster_center () const
 
void add_member (int new_member)
 
void add_member_front (int new_member)
 
void remove_member (int old_member)
 
void push_back (int new_member)
 
void push_front (int new_member)
 
int & operator[] (int index)
 
int operator[] (int index) const
 
core::Size size () const
 
void clear ()
 
void erase (core::Size j)
 
void shuffle ()
 
core::Size group_size ()
 

Public Attributes

int cluster_center_
 
std::deque< int > member
 
core::Size group_size_
 

Constructor & Destructor Documentation

protocols::cluster::Cluster::Cluster ( )
inline
protocols::cluster::Cluster::Cluster ( int  new_cluster_center)
inline

References add_member().

Member Function Documentation

void protocols::cluster::Cluster::add_member ( int  new_member)
inline
void protocols::cluster::Cluster::add_member_front ( int  new_member)
inline

References group_size_, and member.

void protocols::cluster::Cluster::clear ( )
inline
void protocols::cluster::Cluster::erase ( core::Size  j)
inline

References member.

Referenced by remove_member().

int protocols::cluster::Cluster::get_cluster_center ( ) const
inline

References cluster_center_.

core::Size protocols::cluster::Cluster::group_size ( )
inline

References group_size_.

int& protocols::cluster::Cluster::operator[] ( int  index)
inline

References member.

int protocols::cluster::Cluster::operator[] ( int  index) const
inline

References member.

void protocols::cluster::Cluster::push_back ( int  new_member)
inline
void protocols::cluster::Cluster::push_front ( int  new_member)
inline

References member.

void protocols::cluster::Cluster::remove_member ( int  old_member)
inline

References erase(), and group_size_.

void protocols::cluster::Cluster::shuffle ( )
core::Size protocols::cluster::Cluster::size ( ) const
inline

Member Data Documentation

int protocols::cluster::Cluster::cluster_center_

Referenced by get_cluster_center().

core::Size protocols::cluster::Cluster::group_size_
std::deque< int > protocols::cluster::Cluster::member

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