-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Description
Hi, I am trying to apply AHP for my decision making problem. But it doesn't seem to work properly.
By looking at the implementation, the function "ahp()" seems to receive Vector-type as its first argument, but in the example code it seems not. Am I doing something wrong?
- function ahp(comparisonMatrixList::Vector, criteriaComparisonMatrix::Matrix)::AHPResult
Thank you for your effort.
(below is a short sample data that I am trying to apply AHP)
using JMcDM
mat_criteria = [1 5 2 3; 1/5 1 1/4 1/2; 1/2 4 1 2; 1/3 2 1/2 1]
mat_alt_by_c1 = [1 1/3 1/6; 3 1 1/3; 6 3 1]
mat_alt_by_c2 = [1 2 4; 1/2 1 2; 1/4 1/2 1]
mat_alt_by_c3 = [1 2 5; 1/2 1 2; 1/5 1/2 1]
mat_alt_by_c4 = [1 1/2 1/5; 2 1 1/3; 5 3 1]
aug_mat = hcat(mat_alt_by_c1, mat_alt_by_c2, mat_alt_by_c3, mat_alt_by_c4)
result = ahp(aug_mat, mat_criteria)
Metadata
Metadata
Assignees
Labels
No labels