Jive reference manual
List of all members | Public Types | Public Member Functions | Protected Member Functions
jive::graph::Partition Class Reference

#include <jive/graph/Partition.h>

Inheritance diagram for jive::graph::Partition:
Inheritance graph

Public Types

typedef Partition Self
 
typedef Object Super
 

Public Member Functions

 Partition (const WGraph &graph, idx_t partCount=0)
 
idx_t nodeCount () const
 
idx_t edgeCount () const
 
idx_t partCount () const
 
idx_t graphWeight () const
 
idx_t maxNodeDegree () const
 
const WGraphgetGraph () const
 
void setPartCount (idx_t pcount)
 
void mapNode (idx_t inode, idx_t ipart)
 
void mapNodes (const IdxVector &nmap)
 
void mapUnmappedNodes (idx_t ipart)
 
void unmapNode (idx_t inode)
 
void unmapNodes ()
 
void remapNode (idx_t inode, idx_t ipart)
 
bool isMapped (idx_t inode) const
 
bool notMapped (idx_t inode) const
 
idx_t nodeMap (idx_t inode) const
 
idx_t partWeight (idx_t ipart) const
 
WGraph getPart (const IdxVector &inodes, idx_t ipart) const
 
WGraph getSuperGraph () const
 
void mapFromSuper (const Partition &super)
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Protected Member Functions

virtual ~Partition ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Member Typedef Documentation

Constructor & Destructor Documentation

jive::graph::Partition::Partition ( const WGraph graph,
idx_t  partCount = 0 
)
explicit
virtual jive::graph::Partition::~Partition ( )
protectedvirtual

Member Function Documentation

idx_t jive::graph::Partition::nodeCount ( ) const
idx_t jive::graph::Partition::edgeCount ( ) const
idx_t jive::graph::Partition::partCount ( ) const
idx_t jive::graph::Partition::graphWeight ( ) const
idx_t jive::graph::Partition::maxNodeDegree ( ) const
const WGraph & jive::graph::Partition::getGraph ( ) const
void jive::graph::Partition::setPartCount ( idx_t  pcount)
void jive::graph::Partition::mapNode ( idx_t  inode,
idx_t  ipart 
)
void jive::graph::Partition::mapNodes ( const IdxVector &  nmap)
void jive::graph::Partition::mapUnmappedNodes ( idx_t  ipart)
void jive::graph::Partition::unmapNode ( idx_t  inode)
void jive::graph::Partition::unmapNodes ( )
void jive::graph::Partition::remapNode ( idx_t  inode,
idx_t  ipart 
)
bool jive::graph::Partition::isMapped ( idx_t  inode) const
bool jive::graph::Partition::notMapped ( idx_t  inode) const
idx_t jive::graph::Partition::nodeMap ( idx_t  inode) const
idx_t jive::graph::Partition::partWeight ( idx_t  ipart) const
WGraph jive::graph::Partition::getPart ( const IdxVector &  inodes,
idx_t  ipart 
) const
WGraph jive::graph::Partition::getSuperGraph ( ) const
void jive::graph::Partition::mapFromSuper ( const Partition super)