org.decisiondeck.xmcda_oo.utils.matrix
Class AltFuzzyMatrix

java.lang.Object
  extended by org.decisiondeck.xmcda_oo.utils.matrix.FuzzyMatrix<Alternative,Alternative>
      extended by org.decisiondeck.xmcda_oo.utils.matrix.AltFuzzyMatrix
All Implemented Interfaces:
IAltZeroToOneMatrix, IRdFloatMatrix<Alternative,Alternative>, IRdZeroToOneMatrix<Alternative,Alternative>, IZeroToOneMatrix<Alternative,Alternative>

public class AltFuzzyMatrix
extends FuzzyMatrix<Alternative,Alternative>
implements IAltZeroToOneMatrix


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.decisiondeck.xmcda_oo.utils.matrix.IAltZeroToOneMatrix
IAltZeroToOneMatrix.Type
 
Constructor Summary
AltFuzzyMatrix()
          Builds an alternative fuzzy matrix having a null information type.
AltFuzzyMatrix(ConstrainedMatrix<Alternative,Alternative> mat)
           
AltFuzzyMatrix(IAltZeroToOneMatrix.Type type)
          Builds an alternative fuzzy matrix having the given information type.
 
Method Summary
 IAltZeroToOneMatrix.Type getType()
          The type of information that this matrix represents.
 void setType(IAltZeroToOneMatrix.Type type)
          Sets the type of information that this matrix represents.
 
Methods inherited from class org.decisiondeck.xmcda_oo.utils.matrix.FuzzyMatrix
approxEquals, copyAndConvert, equals, getColumns, getEntry, getRows, getValueCount, hashCode, isComplete, isEmpty, isValid, 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.IZeroToOneMatrix
isValid, put, remove
 
Methods inherited from interface org.decisiondeck.xmcda_oo.utils.matrix.IRdZeroToOneMatrix
getEntry
 
Methods inherited from interface org.decisiondeck.xmcda_oo.utils.matrix.IRdFloatMatrix
approxEquals, equals, getColumns, getRows, getValueCount, isComplete, isEmpty
 

Constructor Detail

AltFuzzyMatrix

public AltFuzzyMatrix(IAltZeroToOneMatrix.Type type)
Builds an alternative fuzzy matrix having the given information type.

Parameters:
type - null for other or unknown.

AltFuzzyMatrix

public AltFuzzyMatrix()
Builds an alternative fuzzy matrix having a null information type.


AltFuzzyMatrix

public AltFuzzyMatrix(ConstrainedMatrix<Alternative,Alternative> mat)
Method Detail

getType

public IAltZeroToOneMatrix.Type getType()
Description copied from interface: IAltZeroToOneMatrix
The type of information that this matrix represents. This is a semantic information that may be used to distinguish between several entries. It should not be used to constrain the input types (users may want to use a given type instead of an other one).

Specified by:
getType in interface IAltZeroToOneMatrix
Returns:
the type of information that this matrix represents. null for other or unknown.

setType

public void setType(IAltZeroToOneMatrix.Type type)
Sets the type of information that this matrix represents.

Specified by:
setType in interface IAltZeroToOneMatrix
Parameters:
type - null for other or unknown.


Copyright © 2011. All Rights Reserved.