cluster Class Reference

#include <cluster.h>

List of all members.

Public Member Functions

 cluster ()
 cluster (int sd, const set< int > &tgs)
 cluster (multimap< int, int > &mm)
void addSeed (int sd)
void addTargets (const set< int > &ts)
void display (ostream &os=cout)
string dumpArray () const
string toText (const char delimiter='\t') const
set< int > getElements () const
int size () const

Protected Attributes

set< int > set1
set< int > set2

Friends

class clusmethod
ostream & operator<< (ostream &os, const cluster &c)


Constructor & Destructor Documentation

cluster::cluster (  )  [inline]

cluster::cluster ( int  sd,
const set< int > &  tgs 
)

cluster::cluster ( multimap< int, int > &  mm  ) 


Member Function Documentation

void cluster::addSeed ( int  sd  )  [inline]

References set1.

void cluster::addTargets ( const set< int > &  ts  )  [inline]

References set2.

void cluster::display ( ostream &  os = cout  ) 

string cluster::dumpArray (  )  const

string cluster::toText ( const char  delimiter = '\t'  )  const

convert to tab delimited text by default, or other delimiters

set<int> cluster::getElements (  )  const

int cluster::size (  )  const [inline]

References set1, and set2.


Friends And Related Function Documentation

friend class clusmethod [friend]

ostream& operator<< ( ostream &  os,
const cluster &  c 
) [friend]


Member Data Documentation

set<int> cluster::set1 [protected]

Referenced by addSeed(), and size().

set<int> cluster::set2 [protected]

Referenced by addTargets(), and size().


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

Generated on Wed Aug 10 11:57:08 2011 for Softwares from Orpara by  doxygen 1.5.6