Turi Create  4.0
turi::sgraph_compute::edge_scope Class Reference

#include <core/storage/sgraph_data/sgraph_triple_apply.hpp>

Public Member Functions

vertex_data & source ()
 Provide vertex data access.
 
edge_data & edge ()
 Provide edge data access.
 
void lock_vertices ()
 Lock both source and target vertices.
 
void unlock_vertices ()
 Unlock both source and target vertices.
 
 edge_scope (vertex_data *source, vertex_data *target, edge_data *edge, turi::mutex *lock_0=NULL, turi::mutex *lock_1=NULL)
 Do not construct edge_scope directly. Used by triple_apply_impl.
 

Detailed Description

Provide access to an edge scope (Vertex, Edge, Vertex); The scope object permits read, modify both vertex data and the edge data. See triple_apply

Definition at line 36 of file sgraph_triple_apply.hpp.


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