Grossmont College Java Project
Description
You are going to create a program that has two matrices depicting two separate directed graphs. You will multiply the two matrices (Book 6.6.2). Then you will print out the new matrix and tell me the number of connections within the matrix (add up the values inside the matrix).
There can be more than 1 connection between vertices.
There are 4 vertices in this directed graph. We know that because there are 4 rows and 4 columns. If there is a 1 that means that the vertex on the left (you need to name them) has an arrow edge towards the vertex on the top. If there is a 0 that means there are no edges from the vertex on the left to the top vertex.
Matrix 1:
1001010100101110
Matrix 2:
0111110101011010
– Make sure to program the matrices into your code.
– Output the new matrix created when you multiplied them.
– Output the number of connections within the directed graph being depicted by the new matrix.
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."