#include <PTools.h>
Public Member Functions | |
PCluster () | |
PCluster (const PCluster &other) | |
~PCluster () | |
void | AddConformation (PLightChain *toAdd) |
void | MergeWithCluster (PCluster &other) |
PLightChain * | GetRepresentativeConformation () const |
int | size () const |
bool | empty () const |
list< PLightChain * > | getConformations () const |
PCluster::PCluster | ( | ) |
Creates a new PCluster
.
PCluster::~PCluster | ( | ) |
void PCluster::AddConformation | ( | PLightChain * | toAdd | ) |
Adds the specified PConformation
to this cluster.
void PCluster::MergeWithCluster | ( | PCluster & | other | ) |
Merges the conformation cluster other
with this PCluster
, clearing the contents of the other
cluster.
PLightChain * PCluster::GetRepresentativeConformation | ( | ) | const |
Returns a "representative conformation" for this cluster.
int PCluster::size | ( | ) | const [inline] |
Returns the number of conformations in this cluster.
bool PCluster::empty | ( | ) | const [inline] |
Returns true
if this cluster is empty, false
otherwise.
list<PLightChain *> PCluster::getConformations | ( | ) | const [inline] |
Returns a new list
of the conformations in this cluster.