VGServer::GraphData::Edge Struct Reference

allocated millions of times in the adjacency array More...

#include <GraphData.h>

List of all members.

Public Member Functions

AnyType getAttr (unsigned int attrid, const GraphData &gd) const
 returns the value of an edge attribute by fetching the data from the GraphData object's arrays

Public Attributes

unsigned int attridx
 index into the attribute value array of the default bitfield (if it exists)
vertexid_t target
 target vertex id.


Detailed Description

allocated millions of times in the adjacency array

Definition at line 43 of file GraphData.h.


Member Function Documentation

class AnyType VGServer::GraphData::Edge::getAttr ( unsigned int  attrid,
const GraphData gd 
) const [inline]

returns the value of an edge attribute by fetching the data from the GraphData object's arrays

Definition at line 55 of file GraphData.h.

References attridx.


Member Data Documentation

unsigned int VGServer::GraphData::Edge::attridx

index into the attribute value array of the default bitfield (if it exists)

Definition at line 51 of file GraphData.h.

Referenced by VGServer::GraphData::applyChangelist(), getAttr(), and VGServer::GraphLoader::terminate().

vertexid_t VGServer::GraphData::Edge::target

target vertex id.

if the graph is undirected then the array only contains vertex ids smaller than the owner vertex id.

Definition at line 47 of file GraphData.h.

Referenced by VGServer::GraphLoader::addEdge(), and VGServer::GraphData::applyChangelist().


The documentation for this struct was generated from the following file:
Generated on Wed Sep 27 14:34:01 2006 for VGServer by  doxygen 1.4.7