Example #1
0
 sae::io::EdgeIteratorPtr out_edges() {
     return vi->OutEdges();
 }
Example #2
0
 vertex_id_type id() const {
     return vi->GlobalId();
 }
Example #3
0
 sae::io::EdgeIteratorPtr in_edges() {
     return vi->InEdges();
 }
Example #4
0
 size_t num_in_edges() const {
     return vi->InEdgeCount();
 }
Example #5
0
 size_t num_out_edges() const {
     return vi->OutEdgeCount();
 }
Example #6
0
 /* return the data rank of this vertex */
 std::string data_type_name() {
     return vi->TypeName();
 }
Example #7
0
 uint32_t data_type_id() {
     return vi->TypeId();
 }
Example #8
0
 T parse() {
     T ret = sae::serialization::convert_from_string<T>(vi->Data());
     return ret;
 }
Example #9
0
 void update(T d) {
     vi->Data() = sae::serialization::convert_to_string<T>(d);
 }
Example #10
0
 bool operator==(vertex_type& v) const {
     return vi->GlobalId() == v.vi->GlobalId();
 }
Example #11
0
 bool operator==(vertex_type& v) const {
     return vi->Id() == v->vi->Id();
 }
Example #12
0
 vertex_id_type id() const {
     return vi->Id();
 }
Example #13
0
 vertex_data_type& data() {
     return *((vertex_data_type *) vi->Data());
 }
Example #14
0
 const vertex_data_type& data() const {
     return *((vertex_data_type *) vi->Data());
 }