Ejemplo n.º 1
0
 public List<decimal> GetRatings(Alternative alternative)
 {
     return Items.Where(x => x.AlternativeId == alternative.AlternativeId).OrderBy(x => x.FactorId).Select(x => x.Rating.Value).ToList();
 }
Ejemplo n.º 2
0
 public List<decimal> GetWeights(Alternative alternative)
 {
     return Items.Where(x => x.AlternativeId == alternative.AlternativeId).OrderBy(x => x.FactorId).Select(x => x.Weight).ToList();
 }
Ejemplo n.º 3
0
 public List<decimal> GetProbabilities(Alternative alternative)
 {
     return Items.Where(x => x.AlternativeId == alternative.AlternativeId).OrderBy(x => x.FactorId).Select(x => x.Probability.Value).ToList();
 }