|
Jive reference manual
|
#include <jive/graph/PartitionControl.h>

Public Types | |
| typedef PartitionControl | Self |
| typedef Object | Super |
Public Member Functions | |
| PartitionControl (const IdxVector &partWeights, double ub=DEFAULT_UB) | |
| PartitionControl (idx_t partCount, idx_t totalWeight, double ub=DEFAULT_UB) | |
| PartitionControl (const Vector &partWeights, idx_t totalWeight, double ub=DEFAULT_UB) | |
| idx_t | partCount () const |
| idx_t | targetWeight (idx_t ipart) const |
| idx_t | minWeight (idx_t ipart) const |
| idx_t | maxWeight (idx_t ipart) const |
| double | unbalance () const |
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... | |
Static Public Attributes | |
| static const double | DEFAULT_UB |
Protected Member Functions | |
| virtual | ~PartitionControl () |
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... | |
|
explicit |
| jive::graph::PartitionControl::PartitionControl | ( | idx_t | partCount, |
| idx_t | totalWeight, | ||
| double | ub = DEFAULT_UB |
||
| ) |
| jive::graph::PartitionControl::PartitionControl | ( | const Vector & | partWeights, |
| idx_t | totalWeight, | ||
| double | ub = DEFAULT_UB |
||
| ) |
|
protectedvirtual |
| idx_t jive::graph::PartitionControl::partCount | ( | ) | const |
| idx_t jive::graph::PartitionControl::targetWeight | ( | idx_t | ipart | ) | const |
| idx_t jive::graph::PartitionControl::minWeight | ( | idx_t | ipart | ) | const |
| idx_t jive::graph::PartitionControl::maxWeight | ( | idx_t | ipart | ) | const |
| double jive::graph::PartitionControl::unbalance | ( | ) | const |
|
static |