MemEOL: Difference between revisions
From Desal Wiki
imported>WikiAdmin No edit summary |
imported>WikiAdmin No edit summary |
||
| Line 74: | Line 74: | ||
} | } | ||
return scores; | return scores; | ||
//now that we have the scores we need to check them and display the correct output | //now that we have the scores we need to check them and display the correct output | ||
} | } | ||
| Line 150: | Line 149: | ||
var scores = computePreferenceScores(preferences); //calculate matrix and produce scores for each criterion | var scores = computePreferenceScores(preferences); //calculate matrix and produce scores for each criterion | ||
console.log(scores); | console.log(scores); | ||
var scoreObject = scoresArrayToObject(); //convert from array to object | var scoreObject = scoresArrayToObject(scores); //convert from array to object | ||
//now that we can access the scores by name we can make the additonal calculations for reuse as RO and conversion to UF | //now that we can access the scores by name we can make the additonal calculations for reuse as RO and conversion to UF | ||
Revision as of 01:44, 9 December 2014
Introduction text