Form of a Graph - Topology and Structure of Directed Graphs

Topology and Structure of Directed Graphs
from jumble to order
Pommes Frites aus Die Kunst, aufzuräumen von Ursus Wehrli
Topology and Structure of Directed Graphs
Pommes Frites aus Die Kunst, aufzuräumen von Ursus Wehrli
Go to content

Form of a Graph

Chapters > Graphs
Graphs exist in uncountable forms. No two graphs are the same unless they are cloned.
A graph always starts as an empty one. It grows edge by edge like a swarm. With each new edge, it changes its topology, possibly its structure, and definitely its form. After all, it is the topology who determines the form, and not the form determines the topology.
No matter what the form of a graph looks like, it comes always in one of the flavors we mentioned in the Introduction, namely:
  1. Lists whose topology is represented by themselves
  2. Trees whose topology is represented by a pair of lists
  3. Well-nested Graphs whose topology is represented as if they are trees
  4. Ill-nested Graphs whose topology is represented by two pairs of lists
The structure is represented by the pre-dominator and post-dominator trees of the graph, which are based on the Single-Entry-Single-Target paradigm. Consequently
  • The target of a sub-graph is the post-dominator of the entry, and it is not part of the sub-graph.
  • The constituents of a sub-graph are its entry node, and all the nodes that are pre-dominated by the entry. All nodes must also be post-dominated by the target of the sub-graph, too.
  • Two sub-graphs are either disjoint, or one completely includes the other. They cannot overlap each other.
  • A node belongs to one and only one sub-graph.

If at least one sub-graph is ill-nested, the whole graph is categorized as ill-nested. The category of one sub-graph does not affect the category of another, unless they are nested.
The category of a graph can only be discovered if its topology is elaborated. The next edge can change the topology of the graph completely. Therefore, we will encode any graph using two pairs of lists. In case a graph is categorized besides being ill-nested, the pairs will be identical.
Topology and Structure of Directed Graphs
Copyright © 2024 by Ihsan Enis Olgac, Böblingen. All rights reserved
Wehrli, Ursus: Die Kunst, aufzuräumen
Copyright © 2011 by Kein & Aber AG Zürich – Berlin
Pommes Frites aus Die Kunst, aufzuräumen von Ursus Wehrli
Back to content