org.decisiondeck.xmcda_oo.structure
Class EvaluationMatrix

java.lang.Object
  extended by org.decisiondeck.xmcda_oo.utils.matrix.FloatMatrix<Alternative,Criterion>
      extended by org.decisiondeck.xmcda_oo.structure.EvaluationMatrix
All Implemented Interfaces:
IEvaluations, IFloatMatrix<Alternative,Criterion>, IRdEvaluations, IRdFloatMatrix<Alternative,Criterion>

public class EvaluationMatrix
extends FloatMatrix<Alternative,Criterion>
implements IEvaluations

A matrix which is able to store, at specific positions given by an alternative (as the row) and a criterion (as the column), an evaluation of how the given alternative performs from the point of view of the given criterion.

Objects of this type may also extract from the evaluation matrix the only evaluations pertaining to real, or to fictitious, alternatives, which can be useful when using e.g. 'profiles' (à la Electre).


Constructor Summary
EvaluationMatrix()
           
EvaluationMatrix(FloatMatrix<Alternative,Criterion> matrix)
          Copy constructor, by reference.
 
Method Summary
 
Methods inherited from class org.decisiondeck.xmcda_oo.utils.matrix.FloatMatrix
approxEquals, copy, equals, getAsFuzzy, getColumns, getEntry, getRows, getValueCount, hashCode, isComplete, isEmpty, isFuzzy, put, remove, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.decisiondeck.xmcda_oo.utils.matrix.IFloatMatrix
getAsFuzzy, isFuzzy, put, remove
 
Methods inherited from interface org.decisiondeck.xmcda_oo.utils.matrix.IRdFloatMatrix
approxEquals, equals, getColumns, getEntry, getRows, getValueCount, isComplete, isEmpty
 

Constructor Detail

EvaluationMatrix

public EvaluationMatrix()

EvaluationMatrix

public EvaluationMatrix(FloatMatrix<Alternative,Criterion> matrix)
Copy constructor, by reference. This matrix will reflect the values inside the given matrix. Modifying this matrix will modify the given matrix as well.

Parameters:
matrix - not null.


Copyright © 2011. All Rights Reserved.