Flex  0.17.9
Public Member Functions | List of all members
gs::DualCsrBase Class Referenceabstract

#include <dual_csr.h>

Inheritance diagram for gs::DualCsrBase:
Inheritance graph
[legend]

Public Member Functions

 DualCsrBase ()=default
 
virtual ~DualCsrBase ()=default
 
virtual void BatchInit (const std::string &oe_name, const std::string &ie_name, const std::string &edata_name, const std::string &work_dir, const std::vector< int > &oe_degree, const std::vector< int > &ie_degree)=0
 
virtual void BatchInitInMemory (const std::string &edata_name, const std::string &work_dir, const std::vector< int > &oe_degree, const std::vector< int > &ie_degree)=0
 
virtual void Open (const std::string &oe_name, const std::string &ie_name, const std::string &edata_name, const std::string &snapshot_dir, const std::string &work_dir)=0
 
virtual void OpenInMemory (const std::string &oe_name, const std::string &ie_name, const std::string &edata_name, const std::string &snapshot_dir, size_t src_vertex_cap, size_t dst_vertex_cap)=0
 
virtual void OpenWithHugepages (const std::string &oe_name, const std::string &ie_name, const std::string &edata_name, const std::string &snapshot_dir, size_t src_vertex_cap, size_t dst_vertex_cap)=0
 
virtual void Dump (const std::string &oe_name, const std::string &ie_name, const std::string &edata_name, const std::string &new_snapshot_dir)=0
 
virtual void IngestEdge (vid_t src, vid_t dst, grape::OutArchive &oarc, timestamp_t timestamp, Allocator &alloc)=0
 
virtual void SortByEdgeData (timestamp_t ts)=0
 
virtual void UpdateEdge (vid_t src, vid_t dst, const Any &oarc, timestamp_t timestamp, Allocator &alloc)=0
 
void Resize (vid_t src_vertex_num, vid_t dst_vertex_num)
 
void Warmup (int thread_num)
 
size_t EdgeNum () const
 
virtual CsrBaseGetInCsr ()=0
 
virtual CsrBaseGetOutCsr ()=0
 
virtual const CsrBaseGetInCsr () const =0
 
virtual const CsrBaseGetOutCsr () const =0
 
virtual void Close ()=0
 

Constructor & Destructor Documentation

◆ DualCsrBase()

gs::DualCsrBase::DualCsrBase ( )
default

◆ ~DualCsrBase()

virtual gs::DualCsrBase::~DualCsrBase ( )
virtualdefault

Member Function Documentation

◆ BatchInit()

virtual void gs::DualCsrBase::BatchInit ( const std::string &  oe_name,
const std::string &  ie_name,
const std::string &  edata_name,
const std::string &  work_dir,
const std::vector< int > &  oe_degree,
const std::vector< int > &  ie_degree 
)
pure virtual

◆ BatchInitInMemory()

virtual void gs::DualCsrBase::BatchInitInMemory ( const std::string &  edata_name,
const std::string &  work_dir,
const std::vector< int > &  oe_degree,
const std::vector< int > &  ie_degree 
)
pure virtual

◆ Close()

virtual void gs::DualCsrBase::Close ( )
pure virtual

◆ Dump()

virtual void gs::DualCsrBase::Dump ( const std::string &  oe_name,
const std::string &  ie_name,
const std::string &  edata_name,
const std::string &  new_snapshot_dir 
)
pure virtual

◆ EdgeNum()

size_t gs::DualCsrBase::EdgeNum ( ) const
inline

◆ GetInCsr() [1/2]

virtual const CsrBase* gs::DualCsrBase::GetInCsr ( ) const
pure virtual

◆ GetInCsr() [2/2]

virtual CsrBase* gs::DualCsrBase::GetInCsr ( )
pure virtual

◆ GetOutCsr() [1/2]

virtual const CsrBase* gs::DualCsrBase::GetOutCsr ( ) const
pure virtual

◆ GetOutCsr() [2/2]

virtual CsrBase* gs::DualCsrBase::GetOutCsr ( )
pure virtual

◆ IngestEdge()

virtual void gs::DualCsrBase::IngestEdge ( vid_t  src,
vid_t  dst,
grape::OutArchive &  oarc,
timestamp_t  timestamp,
Allocator alloc 
)
pure virtual

◆ Open()

virtual void gs::DualCsrBase::Open ( const std::string &  oe_name,
const std::string &  ie_name,
const std::string &  edata_name,
const std::string &  snapshot_dir,
const std::string &  work_dir 
)
pure virtual

◆ OpenInMemory()

virtual void gs::DualCsrBase::OpenInMemory ( const std::string &  oe_name,
const std::string &  ie_name,
const std::string &  edata_name,
const std::string &  snapshot_dir,
size_t  src_vertex_cap,
size_t  dst_vertex_cap 
)
pure virtual

◆ OpenWithHugepages()

virtual void gs::DualCsrBase::OpenWithHugepages ( const std::string &  oe_name,
const std::string &  ie_name,
const std::string &  edata_name,
const std::string &  snapshot_dir,
size_t  src_vertex_cap,
size_t  dst_vertex_cap 
)
pure virtual

◆ Resize()

void gs::DualCsrBase::Resize ( vid_t  src_vertex_num,
vid_t  dst_vertex_num 
)
inline

◆ SortByEdgeData()

virtual void gs::DualCsrBase::SortByEdgeData ( timestamp_t  ts)
pure virtual

◆ UpdateEdge()

virtual void gs::DualCsrBase::UpdateEdge ( vid_t  src,
vid_t  dst,
const Any oarc,
timestamp_t  timestamp,
Allocator alloc 
)
pure virtual

◆ Warmup()

void gs::DualCsrBase::Warmup ( int  thread_num)
inline

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