Class for the representation of hypernodes.
More...
#include <ogdf/hypergraph/Hypergraph.h>
|
enum | Type { Type::normal = 0x0000001,
Type::dummy = 0x0000002,
Type::OR = 0x0000003,
Type::BUF = 0x0000004,
Type::AND = 0x0000005,
Type::NOR = 0x0000006,
Type::NOT = 0x0000007,
Type::XOR = 0x0000008,
Type::DFF = 0x0000009,
Type::NAND = 0x0000010,
Type::INPUT = 0x0000011,
Type::OUTPUT = 0x0000012
} |
| The type of hypernodes. More...
|
|
Class for the representation of hypernodes.
Definition at line 217 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 224 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 295 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 287 of file Hypergraph.h.
◆ degree()
int ogdf::HypernodeElement::degree |
( |
| ) |
const |
|
inline |
◆ firstAdj()
Returns the first entry in the adjaceny list.
Definition at line 280 of file Hypergraph.h.
◆ hypergraph()
Hypergraph* ogdf::HypernodeElement::hypergraph |
( |
| ) |
const |
|
inline |
Returns the hypergraph containing the hypernode.
Definition at line 271 of file Hypergraph.h.
◆ index()
int ogdf::HypernodeElement::index |
( |
| ) |
const |
|
inline |
Returns the (unique) hypernode index.
Definition at line 265 of file Hypergraph.h.
◆ lastAdj()
Returns the last entry in the adjacency list.
Definition at line 283 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 308 of file Hypergraph.h.
◆ succ()
hypernode ogdf::HypernodeElement::succ |
( |
| ) |
const |
|
inline |
Returns the successor in the list of all hypernodes.
Definition at line 305 of file Hypergraph.h.
◆ type() [1/2]
Type ogdf::HypernodeElement::type |
( |
| ) |
const |
|
inline |
Returns the type of hypernode.
Definition at line 274 of file Hypergraph.h.
◆ type() [2/2]
void ogdf::HypernodeElement::type |
( |
Type |
pType | ) |
|
|
inline |
◆ GraphListBase
friend class GraphListBase |
|
friend |
◆ Hypergraph
◆ internal::GraphList< HypernodeElement >
◆ m_adjHyperedges
The adjacency list of the hypernode.
Definition at line 241 of file Hypergraph.h.
◆ m_degree
int ogdf::HypernodeElement::m_degree |
|
private |
The number of incident hyperedges.
Definition at line 247 of file Hypergraph.h.
◆ m_hypergraph
The hypergraph containing the hypernode (if any).
Definition at line 253 of file Hypergraph.h.
◆ m_index
int ogdf::HypernodeElement::m_index |
|
private |
The (unique) index of the hypernode.
Definition at line 244 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: