Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ClusterSet.h
Go to the documentation of this file.
1 
32 #pragma once
33 
35 #include <ogdf/basic/basic.h>
37 
38 namespace ogdf {
39 
41 
48 class OGDF_EXPORT ClusterSet : public RegisteredSet<ClusterGraph> {
49 public:
52 
54 
57  const list_type& clusters() const { return elements(); }
58 };
59 
60 }
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
RegisteredSet.h
Declaration and implementation of ogdf::RegisteredSet.
ogdf::ClusterSet
Cluster sets.
Definition: ClusterSet.h:48
ogdf::ClusterSet::clusters
const list_type & clusters() const
Returns a reference to the list of clusters contained in S.
Definition: ClusterSet.h:57
ogdf::List< element_type >
ogdf::RegisteredSet
Constant-time set operations.
Definition: RegisteredSet.h:53
basic.h
Basic declarations, included by all source files.
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
Definition: config.h:117
ogdf::RegisteredSet::RegisteredSet
RegisteredSet()
Creates an empty set associated with no registry.
Definition: RegisteredSet.h:72
ClusterGraph.h
Derived class of GraphObserver providing additional functionality to handle clustered graphs.
OGDF_DEFAULT_COPY
#define OGDF_DEFAULT_COPY(cls)
Explicitly provides default copy construction and assignment for class cls.
Definition: copy_move.h:47