Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
protocols::toolbox::ClusterBase Class Reference

#include <Cluster.hh>

Inheritance diagram for protocols::toolbox::ClusterBase:
Inheritance graph
[legend]

Public Types

typedef std::deque< core::SizeCluster
 
typedef utility::vector1< ClusterClusterList
 
typedef Cluster::const_iterator IntraClusterIterator
 
typedef ClusterList::const_iterator ClusterIterator
 

Public Member Functions

 ClusterBase (core::Size dim)
 
core::Real dist (core::Size i, core::Size j) const
 
core::Realdist (core::Size i, core::Size j)
 
ObjexxFCL::FArray2D< core::Real > & distance_matrix ()
 
ObjexxFCL::FArray2D
< core::Real > const & 
distance_matrix () const
 
core::Size dim () const
 
void print_cluster_assignment (std::ostream &out) const
 
core::Size size () const
 
Cluster const & cluster (core::Size i) const
 
ClusterList const & clusterlist () const
 
void sort_each_group_by_energy (utility::vector1< core::Real > all_energies, bool keep_center=false)
 
void limit_groupsize (core::Size limit)
 
void print_summary (utility::vector1< std::string > tags, utility::vector1< core::Real > all_energies)
 
void show (std::ostream &out) const
 
void read (std::istream &in)
 

Protected Attributes

ClusterList clusterlist_
 
ObjexxFCL::FArray2D< core::Realdistance_
 
core::Size dim_
 

Member Typedef Documentation

typedef ClusterList::const_iterator protocols::toolbox::ClusterBase::ClusterIterator

Constructor & Destructor Documentation

protocols::toolbox::ClusterBase::ClusterBase ( core::Size  dim)
inline

Member Function Documentation

Cluster const& protocols::toolbox::ClusterBase::cluster ( core::Size  i) const
inline

References clusterlist_.

ClusterList const& protocols::toolbox::ClusterBase::clusterlist ( ) const
inline

References clusterlist_.

core::Size protocols::toolbox::ClusterBase::dim ( ) const
inline
core::Real protocols::toolbox::ClusterBase::dist ( core::Size  i,
core::Size  j 
) const
inline
core::Real& protocols::toolbox::ClusterBase::dist ( core::Size  i,
core::Size  j 
)
inline

References distance_.

ObjexxFCL::FArray2D< core::Real >& protocols::toolbox::ClusterBase::distance_matrix ( )
inline

References distance_.

ObjexxFCL::FArray2D< core::Real > const& protocols::toolbox::ClusterBase::distance_matrix ( ) const
inline

References distance_.

void protocols::toolbox::ClusterBase::limit_groupsize ( core::Size  limit)

References clusterlist_.

void protocols::toolbox::ClusterBase::print_cluster_assignment ( std::ostream &  out) const

References clusterlist_.

void protocols::toolbox::ClusterBase::print_summary ( utility::vector1< std::string >  tags,
utility::vector1< core::Real all_energies 
)
void protocols::toolbox::ClusterBase::read ( std::istream &  in)

References clusterlist_.

Referenced by protocols::toolbox::operator>>().

void protocols::toolbox::ClusterBase::show ( std::ostream &  out) const

References clusterlist_.

Referenced by protocols::toolbox::operator<<().

core::Size protocols::toolbox::ClusterBase::size ( ) const
inline

References clusterlist_.

void protocols::toolbox::ClusterBase::sort_each_group_by_energy ( utility::vector1< core::Real all_energies,
bool  keep_center = false 
)

Member Data Documentation

ClusterList protocols::toolbox::ClusterBase::clusterlist_
protected
core::Size protocols::toolbox::ClusterBase::dim_
protected

Referenced by dim().

ObjexxFCL::FArray2D< core::Real > protocols::toolbox::ClusterBase::distance_
protected

Referenced by dist(), and distance_matrix().


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