If you are familiar with those judgment tories inside level analysis, it should be easy to understand the following programs !!
The program given by the teacher can only count a judgment matrix. In this case, if you have a lot of layers in the end, you have to come, to calculate the total CR, it is really trouble. This program solves this trouble. You can enter the contents and information of these matrices in this program, and then you can get a small CI value.
You can also get the total CI value, thereby calculating the total CR value, eventually preparing for you, in fact, it is also convenient for you to construct the judgment matrix of the life life (sometimes if you really touch CR> 0.1), If you use the teacher's program, you really want to be mad, use this program, there will be no such concerns !! Please see
Contributing the original code:
#include COUT << "Please enter matrix:" << endl; for (i = 0; i