NAMD
|
#include <Set.h>
Public Member Functions | |
IRSet () | |
~IRSet () | |
void | unchecked_insert (InfoRecord *) |
void | insert (InfoRecord *) |
int | find (InfoRecord *) |
int | remove (InfoRecord *) |
void | myRemove (listNode **n, InfoRecord *r) |
InfoRecord * | iterator (Iterator *) |
InfoRecord * | next (Iterator *) |
int | numElements () |
int | hasElements () |
void | print () |
IRSet::IRSet | ( | ) |
IRSet::~IRSet | ( | ) |
Definition at line 23 of file Set.C.
References listNode::next.
int IRSet::find | ( | InfoRecord * | r | ) |
Definition at line 112 of file Set.C.
References listNode::info, listNode::next, and Patch::p.
Referenced by Rebalancer::assign(), insert(), Rebalancer::isAvailableOn(), Rebalancer::numAvailable(), and unchecked_insert().
int IRSet::hasElements | ( | ) |
Definition at line 149 of file Set.C.
Referenced by RefineTorusLB::newRefine(), and Rebalancer::refine().
void IRSet::insert | ( | InfoRecord * | info | ) |
Definition at line 49 of file Set.C.
References find(), NAMD_bug(), and listNode::next.
Referenced by RefineTorusLB::newRefine(), and Rebalancer::refine().
InfoRecord * IRSet::iterator | ( | Iterator * | iter | ) |
Definition at line 122 of file Set.C.
References listNode::info, listNode::next, and Iterator::next.
Referenced by RefineTorusLB::newRefine(), and Rebalancer::refine().
void IRSet::myRemove | ( | listNode ** | n, |
InfoRecord * | r | ||
) |
InfoRecord * IRSet::next | ( | Iterator * | iter | ) |
Definition at line 131 of file Set.C.
References listNode::info, listNode::next, and Iterator::next.
Referenced by RefineTorusLB::newRefine(), and Rebalancer::refine().
int IRSet::numElements | ( | ) |
Definition at line 144 of file Set.C.
Referenced by Rebalancer::InitProxyUsage(), Rebalancer::multirefine(), Rebalancer::numAvailable(), Rebalancer::printLoads(), and Rebalancer::printSummary().
void IRSet::print | ( | ) |
Definition at line 154 of file Set.C.
References InfoRecord::Id, listNode::info, iout, listNode::next, and Patch::p.
int IRSet::remove | ( | InfoRecord * | r | ) |
Definition at line 75 of file Set.C.
References listNode::info, NAMD_bug(), listNode::next, and Patch::p.
Referenced by Rebalancer::deAssign(), RefineTorusLB::newRefine(), and Rebalancer::refine().
void IRSet::unchecked_insert | ( | InfoRecord * | info | ) |
Definition at line 32 of file Set.C.
References find(), NAMD_bug(), and listNode::next.
Referenced by Rebalancer::assign(), and Rebalancer::Rebalancer().