Public Member Functions | |
NList (void) | |
void | init (int _sn) |
void | add (int elt) |
int | found (int elt) |
void | sort (void) |
int | getnn (void) |
int | getelt (int n) |
~NList () | |
NList (void) | |
void | init (int _sn) |
void | add (int elt) |
int | found (int elt) |
void | sort (void) |
int | getnn (void) |
int | getelt (int n) |
~NList () | |
Static Private Member Functions | |
static int | cmp (const void *v1, const void *v2) |
static int | cmp (const void *v1, const void *v2) |
Private Attributes | |
int | nn |
int | sn |
int * | elts |
int * | elts |
Definition at line 19 of file partition.C.
NList::NList | ( | void | ) | [inline] |
NList::~NList | ( | ) | [inline] |
NList::NList | ( | void | ) | [inline] |
NList::~NList | ( | ) | [inline] |
void NList::init | ( | int | _sn | ) | [inline] |
Definition at line 27 of file partition.C.
Referenced by Graph::Graph(), and Nodes::Nodes().
void NList::sort | ( | void | ) | [inline] |
int NList::getnn | ( | void | ) | [inline] |
Definition at line 31 of file partition.C.
References nn.
Referenced by Graph::elems(), and Nodes::nelems().
Definition at line 32 of file partition.C.
References assert, elts, and nn.
Referenced by Nodes::getelt(), and Graph::toAdjList().
static int NList::cmp | ( | const void * | v1, | |
const void * | v2 | |||
) | [static, private] |
void NList::init | ( | int | _sn | ) | [inline] |
void NList::add | ( | int | elt | ) |
void NList::sort | ( | void | ) | [inline] |
int NList::getnn | ( | void | ) | [inline] |
int* NList::elts [private] |
int* NList::elts [private] |
Definition at line 26 of file partition.C.