Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ClusterSet.h
Go to the documentation of this file.
1 
32 #pragma once
33 
36 
37 namespace ogdf {
38 
40 
50 template<bool SupportFastSizeQuery = true>
51 class ClusterSet : public RegisteredSet<ClusterGraph, SupportFastSizeQuery> {
53 
54 public:
55  using RS::RS;
56 
58 
61  const typename RS::list_type& clusters() const { return RS::elements(); }
62 };
63 
64 }
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
ogdf::RegisteredSet::elements
const list_type & elements() const
Returns a reference to the list of elements contained in this set.
Definition: RegisteredSet.h:144
RegisteredSet.h
Declaration and implementation of ogdf::RegisteredSet.
ogdf::ClusterSet
Cluster sets.
Definition: ClusterSet.h:51
ogdf::RegisteredSet::list_type
typename std::conditional< SupportFastSizeQuery, List< element_type >, ListPure< element_type > >::type list_type
Definition: RegisteredSet.h:59
ogdf::RegisteredSet
Constant-time set operations.
Definition: RegisteredSet.h:55
ClusterGraph.h
Derived class of GraphObserver providing additional functionality to handle clustered graphs.
ogdf::ClusterSet::clusters
const RS::list_type & clusters() const
Returns a reference to the list of clusters contained in S.
Definition: ClusterSet.h:61