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: AugmentationModule.h:36
ogdf::RegisteredSet::elements
const list_type & elements() const
Returns a reference to the list of elements contained in this set.
Definition: RegisteredSet.h:142
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:57
ClusterArray.h
Declaration and implementation of ClusterArray class.
ogdf::RegisteredSet
Constant-time set operations.
Definition: RegisteredSet.h:53
ogdf::ClusterSet::clusters
const RS::list_type & clusters() const
Returns a reference to the list of clusters contained in S.
Definition: ClusterSet.h:61