Class for the representation of hyperedges.
More...
#include <ogdf/hypergraph/Hypergraph.h>
Class for the representation of hyperedges.
Definition at line 146 of file Hypergraph.h.
◆ HyperedgeElement()
ogdf::HyperedgeElement::HyperedgeElement |
( |
int |
pIndex | ) |
|
|
inlineexplicitprivate |
Constructs an hyperedge element between hypernodes.
- Parameters
-
pIndex | is the index of the hyperedge. |
Definition at line 168 of file Hypergraph.h.
◆ allHypernodes()
template<class NODELIST >
void ogdf::HyperedgeElement::allHypernodes |
( |
NODELIST & |
hypernodes | ) |
const |
|
inline |
Returns a list with all incident hypernodes of the hyperedge.
Definition at line 192 of file Hypergraph.h.
◆ cardinality()
int ogdf::HyperedgeElement::cardinality |
( |
| ) |
const |
|
inline |
Returns the number of incident hypernodes.
Definition at line 176 of file Hypergraph.h.
◆ firstAdj()
Returns the first entry in the adjaceny list.
Definition at line 182 of file Hypergraph.h.
◆ hypergraph()
Hypergraph* ogdf::HyperedgeElement::hypergraph |
( |
| ) |
const |
|
inline |
Returns the hypergraph containing the hyperedge.
Definition at line 179 of file Hypergraph.h.
◆ incident()
bool ogdf::HyperedgeElement::incident |
( |
hypernode |
v | ) |
const |
|
inline |
Returns true iff v
is incident to the hyperedge.
Definition at line 200 of file Hypergraph.h.
◆ incidentHypernodes()
Returns the incident hypernodes of the hyperedge.
Definition at line 188 of file Hypergraph.h.
◆ index()
int ogdf::HyperedgeElement::index |
( |
| ) |
const |
|
inline |
Returns the index of a hyperedge.
Definition at line 173 of file Hypergraph.h.
◆ lastAdj()
Returns the last entry in the adjacency list.
Definition at line 185 of file Hypergraph.h.
◆ operator==()
bool ogdf::HyperedgeElement::operator== |
( |
const hyperedge |
e | ) |
const |
|
inline |
◆ pred()
hyperedge ogdf::HyperedgeElement::pred |
( |
| ) |
const |
|
inline |
Returns the predecessor in the list of all hyperedges.
Definition at line 213 of file Hypergraph.h.
◆ succ()
hyperedge ogdf::HyperedgeElement::succ |
( |
| ) |
const |
|
inline |
Returns the successor in the list of all hyperedges.
Definition at line 210 of file Hypergraph.h.
◆ GraphListBase
friend class GraphListBase |
|
friend |
◆ Hypergraph
◆ internal::GraphList< HyperedgeElement >
◆ operator<<
◆ m_adjHypernodes
The adjacency list of the hyperedge.
Definition at line 153 of file Hypergraph.h.
◆ m_cardinality
int ogdf::HyperedgeElement::m_cardinality |
|
private |
The number of incidend hypernodes.
Definition at line 159 of file Hypergraph.h.
◆ m_hypergraph
The hypergraph containing the hyperedge (if any).
Definition at line 162 of file Hypergraph.h.
◆ m_index
int ogdf::HyperedgeElement::m_index |
|
private |
The (unique) index of the hyperedge.
Definition at line 156 of file Hypergraph.h.
◆ OGDF_NEW_DELETE
ogdf::HyperedgeElement::OGDF_NEW_DELETE |
The documentation for this class was generated from the following file: