Class for the representation of hyperedges.
More...
#include <ogdf/hypergraph/Hypergraph.h>
Class for the representation of hyperedges.
Definition at line 148 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 170 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 194 of file Hypergraph.h.
◆ cardinality()
int ogdf::HyperedgeElement::cardinality |
( |
| ) |
const |
|
inline |
Returns the number of incident hypernodes.
Definition at line 178 of file Hypergraph.h.
◆ firstAdj()
Returns the first entry in the adjaceny list.
Definition at line 184 of file Hypergraph.h.
◆ hypergraph()
Hypergraph* ogdf::HyperedgeElement::hypergraph |
( |
| ) |
const |
|
inline |
Returns the hypergraph containing the hyperedge.
Definition at line 181 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 202 of file Hypergraph.h.
◆ incidentHypernodes()
Returns the incident hypernodes of the hyperedge.
Definition at line 190 of file Hypergraph.h.
◆ index()
int ogdf::HyperedgeElement::index |
( |
| ) |
const |
|
inline |
Returns the index of a hyperedge.
Definition at line 175 of file Hypergraph.h.
◆ lastAdj()
Returns the last entry in the adjacency list.
Definition at line 187 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 215 of file Hypergraph.h.
◆ succ()
hyperedge ogdf::HyperedgeElement::succ |
( |
| ) |
const |
|
inline |
Returns the successor in the list of all hyperedges.
Definition at line 212 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 155 of file Hypergraph.h.
◆ m_cardinality
int ogdf::HyperedgeElement::m_cardinality |
|
private |
The number of incidend hypernodes.
Definition at line 161 of file Hypergraph.h.
◆ m_hypergraph
The hypergraph containing the hyperedge (if any).
Definition at line 164 of file Hypergraph.h.
◆ m_index
int ogdf::HyperedgeElement::m_index |
|
private |
The (unique) index of the hyperedge.
Definition at line 158 of file Hypergraph.h.
◆ OGDF_NEW_DELETE
ogdf::HyperedgeElement::OGDF_NEW_DELETE |
The documentation for this class was generated from the following file: