GRAPHCODE_NS::object Class Reference

#include <graphcode.h>

Inheritance diagram for GRAPHCODE_NS::object:
Inheritance graph
Collaboration diagram for GRAPHCODE_NS::object:
Collaboration graph

Public Member Functions

virtual idxtype weight () const
 
virtual idxtype edgeweight (const objref &x) const
 weight for edge connecting *this to x
 
- Public Member Functions inherited from GRAPHCODE_NS::Ptrlist
iterator begin () const
 
iterator end () const
 
objreffront ()
 
objrefback ()
 
const objreffront () const
 
const objrefback () const
 
objrefoperator[] (unsigned i) const
 
void push_back (objref *x)
 
void push_back (objref &x)
 
void erase (GraphID_t i)
 
void clear ()
 
size_type size () const
 
Ptrlistoperator= (const Ptrlist &x)
 
void lpack (pack_t &targ) const
 
void lunpack (pack_t &targ)
 
- Public Member Functions inherited from classdesc::object
virtual TypeID type () const =0
 
virtual objectclone () const =0
 
objectcloneT () const
 
virtual void pack (pack_t &b) const =0
 
virtual void unpack (pack_t &b)=0
 

Additional Inherited Members

- Public Types inherited from GRAPHCODE_NS::Ptrlist
typedef vector< objref * >::size_type size_type
 
- Public Types inherited from classdesc::object
typedef int TypeID
 
- Static Public Member Functions inherited from classdesc::object
static objectcreate (TypeID)
 

Detailed Description

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)

Member Function Documentation

◆ weight()

virtual idxtype GRAPHCODE_NS::object::weight ( ) const
inlinevirtual

node's weight (for partitioning)


The documentation for this class was generated from the following file: