Struct AMSHeterogeneousGraphFields

Struct Documentation

struct AMSHeterogeneousGraphFields

Public Types

using NodeStoreMap = std::unordered_map<std::string, AMSTensorFieldMap>
using EdgeStoreMap = std::unordered_map<EdgeType, AMSTensorFieldMap, EdgeTypeHash>

Public Functions

AMSHeterogeneousGraphFields() = default
AMSHeterogeneousGraphFields(const AMSHeterogeneousGraphFields&) = delete
AMSHeterogeneousGraphFields &operator=(const AMSHeterogeneousGraphFields&) = delete
AMSHeterogeneousGraphFields(AMSHeterogeneousGraphFields&&) noexcept = default
AMSHeterogeneousGraphFields &operator=(AMSHeterogeneousGraphFields&&) noexcept = default
~AMSHeterogeneousGraphFields() = default
bool containsNodeStore(const std::string &name) const
bool containsEdgeStore(const EdgeType &edge_type) const
AMSTensorFieldMap &getOrCreateNodeStore(std::string name)
AMSTensorFieldMap &getOrCreateEdgeStore(EdgeType edge_type)
AMSTensorFieldMap *findNodeStore(const std::string &name) noexcept
const AMSTensorFieldMap *findNodeStore(const std::string &name) const noexcept
AMSTensorFieldMap *findEdgeStore(const EdgeType &edge_type) noexcept
const AMSTensorFieldMap *findEdgeStore(const EdgeType &edge_type) const noexcept

Public Members

NodeStoreMap node_stores
EdgeStoreMap edge_stores
AMSTensorFieldMap global_store