Interface IOracle
-
- All Known Implementing Classes:
SimpleOracle
public interface IOracleBasic idea is that the interface can load reference data and act as a user in simulations This data will be mostly given as a mapping- Since:
- 1.0
- Version:
- 1.0
- Author:
- Axel-C. Ngonga Ngomo (ngonga@informatik.uni-leipzig.de), Mofeed Hassan (mounir@informatik.uni-leipzig.de)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanask(String uri1, String uri2)Returns true if the mapping contains the two URIs, else falseAMappinggetMapping()StringgetType()voidloadData(AMapping m)intsize()
-
-
-
Method Detail
-
ask
boolean ask(String uri1, String uri2)
Returns true if the mapping contains the two URIs, else false- Parameters:
uri1- First instance in instance pairuri2- Second instance in instance pair- Returns:
- boolean - true if exist otherwise false
-
loadData
void loadData(AMapping m)
-
size
int size()
-
getMapping
AMapping getMapping()
-
getType
String getType()
-
-