/*
* SimilarityCollection.java
*
* Created on February 27, 2007, 12:34 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package medusa.spectral;
import cern.colt.matrix.DoubleMatrix2D;
import java.util.HashMap;
/**
*
* @author shooper
*/
public class SparseSimilarityCollection {
private HashMap names;
private DoubleMatrix2D S;
public SparseSimilarityCollection(HashMap names, DoubleMatrix2D S){
this.names=names;
this.S=S;
}
public SparseSimilarityCollection( DoubleMatrix2D S,HashMap names){
this.names=names;
this.S=S;
}
public HashMap getNames() {
return names;
}
public String getName(int index){
return names.get(new Integer(index));
}
public DoubleMatrix2D getS() {
return S;
}
}
Ads help maintain this website.