Representing relations
Let and take the following relation on :
can be represented by a directed graph:
digraph G {
1->1,2,3,4
2->1,2,4
3->3
}Alternatively we can use a 0-1 matrix:
Let and take the following relation on :
can be represented by a directed graph:
digraph G {
1->1,2,3,4
2->1,2,4
3->3
}Alternatively we can use a 0-1 matrix: