/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package FunctionLayer; /** * * @author install1 */ public class SimilarityMatrix{ private String PrimaryString; private String SecondaryString; private double distance; public double getDistance() { return distance; } public void setDistance(double distance) { this.distance = distance; } public SimilarityMatrix(String str1, String str2) { this.PrimaryString = str1; this.SecondaryString = str2; } public SimilarityMatrix(String str1, String str2, double result) { this.PrimaryString = str1; this.SecondaryString = str2; this.distance = result; } public String getPrimaryString() { return PrimaryString; } public void setPrimaryString(String PrimaryString) { this.PrimaryString = PrimaryString; } public String getSecondaryString() { return SecondaryString; } public void setSecondaryString(String SecondaryString) { this.SecondaryString = SecondaryString; } }