#include <graphcode.h>
Public Member Functions | |
virtual idxtype | weight () const |
virtual idxtype | edgeweight (const objref &x) const |
weight for edge connecting *this to x | |
![]() | |
iterator | begin () const |
iterator | end () const |
objref & | front () |
objref & | back () |
const objref & | front () const |
const objref & | back () const |
objref & | operator[] (unsigned i) const |
void | push_back (objref *x) |
void | push_back (objref &x) |
void | erase (GraphID_t i) |
void | clear () |
size_type | size () const |
Ptrlist & | operator= (const Ptrlist &x) |
void | lpack (pack_t &targ) const |
void | lunpack (pack_t &targ) |
![]() | |
virtual TypeID | type () const =0 |
virtual object * | clone () const =0 |
object * | cloneT () const |
virtual void | pack (pack_t &b) const =0 |
virtual void | unpack (pack_t &b)=0 |
Additional Inherited Members | |
![]() | |
typedef vector< objref * >::size_type | size_type |
![]() | |
typedef int | TypeID |
![]() | |
static object * | create (TypeID) |
base class for Graphcode objects. an object, first and foremost is a Ptrlist
of other objects it is connected to (maybe its neighbours, maybe its classes or families to which it belongs)
|
inlinevirtual |
node's weight (for partitioning)