Template Class AttributedEdgeIndexStorage¶
- Defined in File attributed_edge_index.h
Nested Relationships¶
Class Documentation¶
-
template <typename SrcT, typename DestT, typename SrcAttrT, typename NeighborsStorageT = AttrEdgesPair<SrcAttrT, DestT>>
classAttributedEdgeIndexStorage¶ Public Types
-
template<>
usingSrcAttributesT= SrcAttrT¶
-
template<>
usingNeighborListStorageT= NeighborsStorageT¶
-
template<>
usingEdgeListStorageT= LocalHashmap<SrcT, NeighborsStorageT, IDCmp<SrcT>, ElementInserter>¶
Public Functions
-
AttributedEdgeIndexStorage(const size_t numVertices)¶
-
SrcAttributesT *
GetVertexAttributes(const SrcT &src)¶
-
bool
GetVertexAttributes(const SrcT &src, SrcAttributesT *attr)¶
-
template <typename ApplyFunT, typename... Args>
voidVertexAttributesApply(const SrcT &src, ApplyFunT &&function, Args&... args)¶
Public Members
-
EdgeListStorageT
edgeList_¶
Public Static Functions
-
template <typename ApplyFunT, typename... Args, std::size_t... is>
static voidCallVertexAttributesApplyFun(AttributedEdgeIndexStorage<SrcT, DestT, SrcAttrT, NeighborListStorageT> *stPtr, const SrcT &src, ApplyFunT function, std::tuple<Args...> &args, std::index_sequence<is...>)¶
Public Static Attributes
-
constexpr size_t
kEdgeListChunkSize_= 3072 / sizeof(DestT)¶
-
struct
ElementInserter¶ Public Functions
-
template<>
voidoperator()(NeighborsStorageT *const lhs, const NeighborsStorageT&)¶
-
template<>
-
struct
FlatEdgeList¶
-
template<>