Class for the representation of hypernodes.
More...
#include <ogdf/hypergraph/Hypergraph.h>
|
| enum class | Type { normal = 0x0000001
, dummy = 0x0000002
, OR = 0x0000003
, BUF = 0x0000004
, AND = 0x0000005
, NOR = 0x0000006
, NOT = 0x0000007
, XOR = 0x0000008
, DFF = 0x0000009
, NAND = 0x0000010
, INPUT = 0x0000011
, OUTPUT = 0x0000012
} |
| | The type of hypernodes. More...
|
| |
|
| bool | adjacent (hypernode v) const |
| | Returns true iff v is adjacent to the hypernode.
|
| |
| template<class NODELIST > |
| void | allHyperedges (NODELIST &hyperedges) const |
| | Returns a list with all incident hyperedges of the hypernode.
|
| |
| int | degree () const |
| | Returns the hypernode degree.
|
| |
| adjHypergraphEntry | firstAdj () const |
| | Returns the first entry in the adjaceny list.
|
| |
| Hypergraph * | hypergraph () const |
| | Returns the hypergraph containing the hypernode.
|
| |
| int | index () const |
| | Returns the (unique) hypernode index.
|
| |
| adjHypergraphEntry | lastAdj () const |
| | Returns the last entry in the adjacency list.
|
| |
| bool | operator== (const hypernode v) const |
| | Equality operator.
|
| |
| hypernode | pred () const |
| | Returns the predecessor in the list of all hypernodes.
|
| |
| hypernode | succ () const |
| | Returns the successor in the list of all hypernodes.
|
| |
| Type | type () const |
| | Returns the type of hypernode.
|
| |
| void | type (Type pType) |
| | Sets the type of hypernode.
|
| |
Class for the representation of hypernodes.
Definition at line 228 of file Hypergraph.h.
◆ Type
The type of hypernodes.
| Enumerator |
|---|
| normal | |
| dummy | Default type.
|
| OR | Temporary hypernode.
|
| BUF | Electric circuit: OR gate.
|
| AND | Electric circuit: Buffer gate (iscas85).
|
| NOR | Electric circuit: AND gate.
|
| NOT | Electric circuit: NOR gate.
|
| XOR | Electric circuit: NOT gate.
|
| DFF | Electric circuit: XOR gate.
|
| NAND | Electric circuit: D-Flip-Flop gate (max500nodes).
|
| INPUT | Electric circuit: NAND gate.
|
| OUTPUT | Electric circuit: Input.
|
Definition at line 235 of file Hypergraph.h.
◆ HypernodeElement() [1/2]
| ogdf::HypernodeElement::HypernodeElement |
( |
int |
pIndex | ) |
|
|
inlineexplicitprivate |
◆ HypernodeElement() [2/2]
| ogdf::HypernodeElement::HypernodeElement |
( |
int |
pIndex, |
|
|
Type |
pType |
|
) |
| |
|
inlineprivate |
◆ adjacent()
| bool ogdf::HypernodeElement::adjacent |
( |
hypernode |
v | ) |
const |
|
inline |
Returns true iff v is adjacent to the hypernode.
Definition at line 306 of file Hypergraph.h.
◆ allHyperedges()
template<class NODELIST >
| void ogdf::HypernodeElement::allHyperedges |
( |
NODELIST & |
hyperedges | ) |
const |
|
inline |
Returns a list with all incident hyperedges of the hypernode.
Definition at line 298 of file Hypergraph.h.
◆ degree()
| int ogdf::HypernodeElement::degree |
( |
| ) |
const |
|
inline |
◆ firstAdj()
Returns the first entry in the adjaceny list.
Definition at line 291 of file Hypergraph.h.
◆ hypergraph()
| Hypergraph * ogdf::HypernodeElement::hypergraph |
( |
| ) |
const |
|
inline |
Returns the hypergraph containing the hypernode.
Definition at line 282 of file Hypergraph.h.
◆ index()
| int ogdf::HypernodeElement::index |
( |
| ) |
const |
|
inline |
Returns the (unique) hypernode index.
Definition at line 276 of file Hypergraph.h.
◆ lastAdj()
Returns the last entry in the adjacency list.
Definition at line 294 of file Hypergraph.h.
◆ operator==()
| bool ogdf::HypernodeElement::operator== |
( |
const hypernode |
v | ) |
const |
|
inline |
◆ pred()
| hypernode ogdf::HypernodeElement::pred |
( |
| ) |
const |
|
inline |
Returns the predecessor in the list of all hypernodes.
Definition at line 319 of file Hypergraph.h.
◆ succ()
| hypernode ogdf::HypernodeElement::succ |
( |
| ) |
const |
|
inline |
Returns the successor in the list of all hypernodes.
Definition at line 316 of file Hypergraph.h.
◆ type() [1/2]
| Type ogdf::HypernodeElement::type |
( |
| ) |
const |
|
inline |
Returns the type of hypernode.
Definition at line 285 of file Hypergraph.h.
◆ type() [2/2]
| void ogdf::HypernodeElement::type |
( |
Type |
pType | ) |
|
|
inline |
◆ GraphListBase
| friend class GraphListBase |
|
friend |
◆ Hypergraph
◆ internal::GraphList< HypernodeElement >
◆ operator<<
◆ m_adjHyperedges
The adjacency list of the hypernode.
Definition at line 252 of file Hypergraph.h.
◆ m_degree
| int ogdf::HypernodeElement::m_degree |
|
private |
The number of incident hyperedges.
Definition at line 258 of file Hypergraph.h.
◆ m_hypergraph
The hypergraph containing the hypernode (if any).
Definition at line 264 of file Hypergraph.h.
◆ m_index
| int ogdf::HypernodeElement::m_index |
|
private |
The (unique) index of the hypernode.
Definition at line 255 of file Hypergraph.h.
◆ m_type
| Type ogdf::HypernodeElement::m_type |
|
private |
◆ OGDF_NEW_DELETE
| ogdf::HypernodeElement::OGDF_NEW_DELETE |
The documentation for this class was generated from the following file: