IBM SYSTEMG G RUNTIME & NATIVE STORE
0.5
IBM Native Graph Computing and Storage System based on IBM Parallel Programming Library
|
#include <ibm_multiproperty_graph.hpp>
Public Types | |
typedef graph_type::edge_iterator | edge_iterator |
typedef imp_pred_iterator < edge_type, base_pred_iterator, Graph > | pred_iterator |
![]() | |
typedef IdType | elementd_type |
typedef Vertex::property_type | property_type |
typedef std::string | property_name_type |
typedef std::string | property_value_type |
typedef std::string | label_string_type |
typedef std::string | vclass_string_type |
Public Member Functions | |
imp_vertex_iterator (BaseIterator it, graph_type *g) | |
imp_vertex_iterator (imp_vertex_iterator const &other) | |
void | check_consistency (const char *filename, int linenum) |
omnidirectional_edge_iterator_t < edge_iterator, this_type, graph_type > | omniedges_begin (EDGEDIRECTION ed) |
size_t | edges_size () const |
size_t | edges_size (size_t lid) const |
edge_iterator | edges_begin () |
edge_iterator | edges_begin (size_t lid) |
edge_iterator | edges_end () |
edge_iterator | edges_end (size_t lid) |
size_t | preds_size () const |
size_t | preds_size (size_t lid) const |
pred_iterator | preds_begin () |
pred_iterator | preds_end () |
pred_iterator | preds_begin (size_t lid) |
pred_iterator | preds_end (size_t lid) |
size_t | add_pred (vertexd_type source, size_t lid, edged_type eid) |
size_t | add_edge (vertexd_type target, const edge_property &ep, edged_type eid) |
Vertex & | operator* () |
imp_vertex_iterator * | operator-> () |
void | operator++ (int xx) |
void | operator++ () |
void | operator-- (int xx) |
void | operator-- () |
![]() | |
imp_graphelement_iterator (base_type it, graph_type *g) | |
imp_graphelement_iterator (imp_graphelement_iterator const &others) | |
imp_graphelement_iterator & | operator= (imp_graphelement_iterator const &others) |
graph_type * | graph_ptr (void) |
void | check_consistency (const char *filename, int linenum) |
Vertex & | operator* () |
imp_graphelement_iterator * | operator-> () |
void | operator++ (int xx) |
void | operator++ () |
bool | operator== (const imp_graphelement_iterator &other) |
bool | operator!= (const imp_graphelement_iterator &other) |
const property_type & | property () const |
property_type & | property () |
const elementd_type | id () const |
void | set_property (property_type &new_vp) |
size_t | get_first_subproperty_id () |
size_t | get_next_subproperty_id (size_t propid) |
void | set_externalidxxx (property_value_type value) |
std::string | get_externalid_xx () |
std::string | get_label () |
img_labelid_type | get_labelid () |
void | set_label (std::string label) |
void | set_labelid (img_labelid_type labelid) |
void | set_subproperty (const property_name_type &pname, const property_value_type &value) |
void | set_subproperty (const size_t propid, const property_value_type &value) |
void | set_subproperty (const size_t propid, char const *value, int valuelen) |
void | set_subproperty (const size_t propid, int ivalue) |
void | set_subproperty (const size_t propid, double dvalue) |
property_value_type | get_subproperty (const property_name_type &pname) |
property_value_type | get_subproperty (size_t propid) |
int | get_subpropertytype (size_t propid) |
int | get_int_subproperty (size_t propid) |
double | get_double_subproperty (size_t propid) |
void | delete_subproperty (const property_name_type &pname) |
void | delete_subproperty (size_t propid) |
size_t | get_subproperty_count () |
void | iter_setEnd (base_type itEnd) |
int | iter_done () |
Private Types | |
typedef imp_vertex_iterator < Vertex, BaseIterator, Graph, IdType > | this_type |
typedef Graph | graph_type |
typedef imp_graphelement_iterator < Vertex, BaseIterator, Graph, IdType > | base_type |
typedef Graph::edge_type | edge_type |
typedef graph_type::base_edge_iterator | base_edge_iterator |
typedef Vertex::pred_iterator | base_pred_iterator |
typedef Graph::vertexd_type | vertexd_type |
typedef Graph::edged_type | edged_type |
typedef Graph::edge_property | edge_property |
Additional Inherited Members | |
![]() | |
base_type | _iter |
graph_type * | _graph_ptr |
![]() | |
size_t | _get_or_allocate_propertyid (const property_name_type &pname) |
size_t | _get_propertyid (const property_name_type &pname) |
![]() | |
bool | _isEdge |
long | vid_source |
int | boolEndIterSet |
base_type | _iterEnd |
Vertex iterator. Use methods of the graph object to obtain instances of this class.
|
inline |
This method does a couple affordable consistency checks that should spot memory corruption problems. If a problem is encoutered, the CHKCONSIST_ASSERT4 method will handle it. See the checkconsistency.h file for how that's done, or define that yourself.
filename | the nominal file name of the code that's calling this method. In C++ code this is easily specified with the FILE automatic variable. |
lineno | the nominal line number of the code that's calling this method. In C++ cod this is easily specified with the LINE automatic variable. |
|
inline |
This method returns an iterator over the outgoing edges of this vertex.
|
inline |
This method returns an iterator instance that can be used to determine if the iterator returned by the edges_begin method is finished. See the C++ STL iterator documentation to understand how it works.
|
inline |
This method returns an iterator over the outgoing edges of this vertex.
|
inline |
This method returns a predecessor iterator over the incoming edges of this vertex.
|
inline |
This method returns a predecessor iterator over the incoming edges of a given label for this vertex.
|
inline |
This method returns an iterator instance that can be used to determine if the iterator returned by the edges_begin method is finished. See the C++ STL iterator documentation to understand how it works.
|
inline |
This method returns an iterator instance that can be used to determine if the iterator returned by the edges_begin method is finished. See the C++ STL iterator documentation to understand how it works.