com.formulasearchengine.mathmltools.similarity.distances.earthmover.Signature Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mathml-similarity Show documentation
Show all versions of mathml-similarity Show documentation
API to calculate similarities between MathML documents.
package com.formulasearchengine.mathmltools.similarity.distances.earthmover;
/**
* @author Telmo Menezes ([email protected])
*/
public class Signature {
private int numberOfFeatures;
private Feature[] features;
private double[] weights;
public int getNumberOfFeatures() {
return numberOfFeatures;
}
public void setNumberOfFeatures(int numberOfFeatures) {
this.numberOfFeatures = numberOfFeatures;
}
public Feature[] getFeatures() {
return features;
}
public void setFeatures(Feature[] features) {
this.features = features;
}
public double[] getWeights() {
return weights;
}
public void setWeights(double[] weights) {
this.weights = weights;
}
}