Question: Let A = {1,2,3,4}, and let R be a relation on A with matrix M R defined as: 1 2 3 4 | 1 1
Let A = {1,2,3,4}, and let R be a relation on A with matrix
M R defined as:
1 2 3 4 | 1 1 0 0 | | 1 1 1 0 | | 0 0 0 1 | | 1 0 0 0 |
a. Compute the outdegree for each node. (There should be one answer for each of the four nodes.)
b. List two cycles of length 4 that start at node 2.
c. Perform the first two iterations (nodes 1 and 2) of Warshall's algorithm on matrix
M R . Show the work matrix
W 2 after these two iterations.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
