
it.unitn.disi.smatch.data.matrices.IMatchMatrix 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.matrices;
/**
* An interface to a matrix with matching results.
*
* @author Mikalai Yatskevich [email protected]
* @author Aliaksandr Autayeu
*/
public interface IMatchMatrix {
/**
* Inits a matrix x rows per y columns.
*
* @param x rows count
* @param y column count
*/
void init(int x, int y);
/**
* Returns an element.
*
* @param x row
* @param y column
* @return an element value
*/
char get(int x, int y);
/**
* Sets an element.
*
* @param x row
* @param y column
* @param value a new element value
* @return true if matrix was modified
*/
boolean set(int x, int y, char value);
/**
* Returns row count.
*
* @return row count
*/
int getX();
/**
* Returns column count.
*
* @return column count
*/
int getY();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy