IBM SYSTEMG G RUNTIME & NATIVE STORE  0.5
IBM Native Graph Computing and Storage System based on IBM Parallel Programming Library
 All Classes Functions Variables Typedefs Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
ibmppl::EdgeBase Class Reference

Base class for graph edge with an id, a source and a sink. More...

#include <ibm_graph.h>

Inheritance diagram for ibmppl::EdgeBase:
ibmppl::Edge< Data, Directedness > ibmppl::Edge< Data, UNDIRECTED > ibmppl::Edge< Property, Directedness > ibmppl::Edge< Property, UNDIRECTED >

Public Types

enum  FLAGS_T { kDefault = 0, kPropertyValid = 0x00000001 }
 
typedef size_t edged_type
 
typedef size_t vertexd_type
 

Public Member Functions

 EdgeBase (vertexd_type s, vertexd_type t, edged_type id=0, uint32_t flags=kDefault)
 
bool operator== (const EdgeBase &other) const
 
bool operator!= (const EdgeBase &other) const
 
edged_type id () const
 
vertexd_type source () const
 
vertexd_type target () const
 
void clear_flag (uint32_t flags)
 
void set_flag_invalid ()
 
void set_flag (uint32_t flags)
 
bool test_flag (uint32_t flags) const
 

Protected Attributes

edged_type _id
 
vertexd_type _source
 
vertexd_type _target
 
uint32_t _flags
 

Detailed Description

Base class for graph edge with an id, a source and a sink.


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