Jive reference manual
|
#include <jive/graph/Partition.h>
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 WGraph & | getGraph () 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 Class * | getClass () 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< Object > | clone () 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 Class * | getType () |
Returns the Class instance representing the Object class. More... | |
typedef Object jive::graph::Partition::Super |
|
explicit |
|
protectedvirtual |
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 | ) |