58 :
RegisteredSet((const internal::GraphNodeRegistry&)graph) { }
60 using RegisteredSet::RegisteredSet;
69 return *registeredAt()->graphOf();
90 :
RegisteredSet((const internal::GraphEdgeRegistry&)graph) { }
92 using RegisteredSet::RegisteredSet;
101 return *registeredAt()->graphOf();
118 :
RegisteredSet((const internal::GraphAdjRegistry&)graph) { }
120 using RegisteredSet::RegisteredSet;
129 return *registeredAt()->graphOf();
133template<OGDF_NODE_LIST NL>
142 return insert(
begin(nodeList),
end(nodeList), edgeSet, nodeMap, edgeMap);
Includes declaration of graph class.
Decralation of GraphElement and GraphList classes.
Declaration and implementation of ogdf::RegisteredSet.
Basic declarations, included by all source files.
const list_type & adjEntries()
Returns a reference to the list of adjEntries contained in this set.
const Graph & graphOf() const
Returns the associated graph.
AdjEntrySet(const Graph &graph)
Creates a new adjEntry set associated with graph.
const list_type & edges()
Returns a reference to the list of edges contained in this set.
const Graph & graphOf() const
Returns the associated graph.
EdgeSet(const Graph &graph)
Creates a new edge set associated with graph.
Data type for general directed graphs (adjacency list representation).
internal::GraphEdgeRegistry m_regEdgeArrays
The registered edge arrays.
internal::GraphAdjRegistry m_regAdjArrays
The registered adjEntry arrays.
internal::GraphNodeRegistry m_regNodeArrays
The registered node arrays.
std::pair< int, int > insert(const NI &nodesBegin, const NI &nodesEnd, const EI &edgesBegin, const EI &edgesEnd, NodeArray< node > &nodeMap, EdgeArray< edge > &edgeMap)
Inserts a copy of a given subgraph into this graph.
const Graph & graphOf() const
Returns the associated graph.
const list_type & nodes()
Returns a reference to the list of nodes contained in this set.
NodeSet(const Graph &graph)
Creates a new node set associated with graph.
Constant-time set operations.
void reserveSpace(int new_keys)
Resizes all arrays to make space of new_keys new keys.
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
RegisteredArray for nodes, edges and adjEntries of a graph.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
Utility macros for declaring copy and move constructors and assignment operations.
#define OGDF_DEFAULT_COPY(cls)
Explicitly provides default copy construction and assignment for class cls.
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
The namespace for all OGDF objects.
HypergraphRegistry< HypernodeElement >::iterator begin(const HypergraphRegistry< HypernodeElement > &self)
HypergraphRegistry< HypernodeElement >::iterator end(const HypergraphRegistry< HypernodeElement > &self)