A relation on a set is called transitive, if the following hold, for all elements : $$ \text{If both } (a, b) \in R \text{ and } (b, c) \in R \text{ then } (a, c) \in R $$
In the directed graph representing , is transitive, if every two-step journey along arrows can be done in one step. For example:
-
The following graphs are not transitive:
digraph A { x->y y->z z->w x->z } digraph B { x->y y->z z->w x->z x->w } -
The following graph is transitive:
digraph B { x->y y->z z->w x->z x->w y->w } -
Transitive: , , , on , , , or For example, if then and so on…
-
Transitive: on
digraph B { 1->1 1->2 1->3 2->2 2->3 3->3 } -
Transitive: on We cannot show it’s not transitive, since we only have one one-step journey.
digraph B { 3->4 } -
Not transitive: on
digraph B { 1->1 1->2 2->1 }