Package cc.mallet.cluster.util
Class PairwiseMatrix
- java.lang.Object
-
- cc.mallet.cluster.util.PairwiseMatrix
-
- All Implemented Interfaces:
java.io.Serializable
public class PairwiseMatrix extends java.lang.Object implements java.io.Serializable
2-D upper-triangular matrix. Used to store pairwise affinity scores.- Since:
- 1.0
- Version:
- 1.0
- Author:
- "Aron Culotta"
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PairwiseMatrix(int size)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
get(int i, int j)
int
length(int i)
static void
main(java.lang.String[] args)
void
set(int i, int j, double v)
java.lang.String
toString()
-