IBM SYSTEMG G RUNTIME & NATIVE STORE
0.5
IBM Native Graph Computing and Storage System based on IBM Parallel Programming Library
|
Base class for graph edge with an id, a source and a sink. More...
#include <ibm_graph.h>
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 |
Base class for graph edge with an id, a source and a sink.