
it.unitn.disi.smatch.data.mappings.BaseMapping Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of s-match Show documentation
Show all versions of s-match Show documentation
A version of S-Match semantic matching framework for Open Data
The newest version!
package it.unitn.disi.smatch.data.mappings;
import it.unitn.disi.smatch.data.trees.IContext;
import java.util.AbstractSet;
/**
* Base mapping class.
*
* @author Aliaksandr Autayeu
*/
public abstract class BaseMapping extends AbstractSet> implements IContextMapping {
protected double similarity;
protected IContext sourceContext;
protected IContext targetContext;
public double getSimilarity() {
return similarity;
}
public void setSimilarity(double similarity) {
this.similarity = similarity;
}
public IContext getSourceContext() {
return sourceContext;
}
public IContext getTargetContext() {
return targetContext;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy