Struct AMSHeterogeneousGraph

Struct Documentation

struct AMSHeterogeneousGraph

Public Types

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

Public Functions

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

Public Members

NodeStoreMap node_stores
EdgeStoreMap edge_stores
AMSTensorMap global_store