Class SimpleOracle
- java.lang.Object
-
- org.aksw.limes.core.evaluation.oracle.SimpleOracle
-
-
Constructor Summary
Constructors Constructor Description SimpleOracle()SimpleOracle(AMapping m)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanask(String uri1, String uri2)check if a pair source-target URIs exist in the oracleAMappinggetMapping()StringgetType()It returns the type of mappingvoidloadData(AMapping m)Loads the oracle with the given mappingintsize()It returns the size of mapping
-
-
-
Constructor Detail
-
SimpleOracle
public SimpleOracle()
-
SimpleOracle
public SimpleOracle(AMapping m)
-
-
Method Detail
-
ask
public boolean ask(String uri1, String uri2)
check if a pair source-target URIs exist in the oracle
-
loadData
public void loadData(AMapping m)
Loads the oracle with the given mapping
-
size
public int size()
It returns the size of mapping
-
getMapping
public AMapping getMapping()
- Specified by:
getMappingin interfaceIOracle
-
-