|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
RowType - the type of objects used to designate the row part of a position.ColumnType - the type of objects used to designate the column part of a position.public interface IRdZeroToOneMatrix<RowType,ColumnType>
A matrix which is able to retrieve values in [0, 1], i.e., doubles between 0 and 1 inclusive, at a set of positions, each position being represented by a row and a column entries.
If this matrix is complete, it is equivalent to a fuzzy relation. If it is not complete, then a difference between a
fuzzy relation is that this matrix has null entries associated to some positions, which is different
than a zero value.
Vocabulary note: an entry can be a value or can be null, a value is a double between zero and one.
Note that, although this interface is read-only, the underlying object may be mutable.
| Method Summary | |
|---|---|
Double |
getEntry(RowType row,
ColumnType column)
Returns the value at the position specified by the given row and column, of null if there is none. |
| Methods inherited from interface org.decisiondeck.xmcda_oo.utils.matrix.IRdFloatMatrix |
|---|
approxEquals, equals, getColumns, getRows, getValueCount, isComplete, isEmpty |
| Method Detail |
|---|
Double getEntry(RowType row,
ColumnType column)
null if there is none.
getEntry in interface IRdFloatMatrix<RowType,ColumnType>row - not null.column - not null.
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||