Flex  0.17.9
Public Member Functions | Private Member Functions | List of all members
gs::ShortestPathAmongThree Class Reference

#include <shortest_path_among_three.h>

Inheritance diagram for gs::ShortestPathAmongThree:
Inheritance graph
[legend]
Collaboration diagram for gs::ShortestPathAmongThree:
Collaboration graph
[legend]

Public Member Functions

 ShortestPathAmongThree ()
 
results::CollectiveResults Query (const GraphDBSession &sess, std::string label_name1, std::string oid1, std::string label_name2, std::string oid2, std::string label_name3, std::string oid3)
 

Private Member Functions

bool ShortestPath (const gs::ReadTransaction &txn, label_t v1_l, vid_t v1_index, label_t v2_l, vid_t v2_index, std::vector< std::pair< label_t, vid_t >> &result_)
 
std::vector< std::pair< label_t, vid_t > > ConnectPath (const std::vector< std::pair< label_t, vid_t >> &path1, const std::vector< std::pair< label_t, vid_t >> &path2, const std::vector< std::pair< label_t, vid_t >> &path3)
 

Constructor & Destructor Documentation

◆ ShortestPathAmongThree()

gs::ShortestPathAmongThree::ShortestPathAmongThree ( )
inline

Member Function Documentation

◆ ConnectPath()

std::vector< std::pair< label_t, vid_t > > gs::ShortestPathAmongThree::ConnectPath ( const std::vector< std::pair< label_t, vid_t >> &  path1,
const std::vector< std::pair< label_t, vid_t >> &  path2,
const std::vector< std::pair< label_t, vid_t >> &  path3 
)
private

◆ Query()

results::CollectiveResults gs::ShortestPathAmongThree::Query ( const GraphDBSession sess,
std::string  label_name1,
std::string  oid1,
std::string  label_name2,
std::string  oid2,
std::string  label_name3,
std::string  oid3 
)

◆ ShortestPath()

bool gs::ShortestPathAmongThree::ShortestPath ( const gs::ReadTransaction txn,
label_t  v1_l,
vid_t  v1_index,
label_t  v2_l,
vid_t  v2_index,
std::vector< std::pair< label_t, vid_t >> &  result_ 
)
private

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