libgrape-lite
A C++ library for parallel graph processing
Classes | Public Types | Public Member Functions | Private Attributes | Friends | List of all members
grape::VertexRange< T > Class Template Reference

Classes

class  iterator
 

Public Types

using vertex_t = Vertex< T >
 

Public Member Functions

DEV_HOST VertexRange (const T &begin, const T &end)
 
DEV_HOST VertexRange (const VertexRange &r)
 
DEV_HOST_INLINE iterator begin () const
 
DEV_HOST_INLINE iterator end () const
 
DEV_HOST_INLINE size_t size () const
 
DEV_HOST void Swap (VertexRange &rhs)
 
DEV_HOST void SetRange (const T &begin, const T &end)
 
DEV_HOST const T & begin_value () const
 
DEV_HOST const T & end_value () const
 
bool Contain (const Vertex< T > &v) const
 
bool IsSubsetOf (const VertexRange< T > &rhs) const
 
bool IsSubsetOf (const DualVertexRange< T > &rhs) const
 
bool OverlapWith (const VertexRange< T > &rhs) const
 
bool OverlapWith (const DualVertexRange< T > &rhs) const
 
std::string to_string () const
 

Private Attributes

begin_
 
end_
 

Friends

InArchiveoperator<< (InArchive &in_archive, const VertexRange< T > &range)
 
OutArchiveoperator>> (OutArchive &out_archive, VertexRange< T > &range)