Package com.semedy.reasoner.app
Class Check4Replay
java.lang.Object
com.semedy.reasoner.app.Check4Replay
- All Implemented Interfaces:
Check4JsonBug
This class checks whether an error exists.
It it used within problem optimizer
It it used within problem optimizer
- Author:
- angele
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
errorStillHere
(String factfilepath, List<String> rulefilepaths) check whether problem still existsString[]
Get the initial fact filesReturn the rule files to be loaded.Get the temporary directory used for minimizing
and used for storing the result files.
-
Constructor Details
-
Check4Replay
public Check4Replay()
-
-
Method Details
-
errorStillHere
public boolean errorStillHere(String factfilepath, List<String> rulefilepaths) throws SemReasonerException, InterruptedException Description copied from interface:Check4JsonBug
check whether problem still exists- Specified by:
errorStillHere
in interfaceCheck4JsonBug
- Parameters:
factfilepath
- , files to load facts fromrulefilepaths
- , files to load rules from- Returns:
- Throws:
SemReasonerException
InterruptedException
-
getTempDir
Description copied from interface:Check4JsonBug
Get the temporary directory used for minimizing
and used for storing the result files.- Specified by:
getTempDir
in interfaceCheck4JsonBug
- Returns:
- temp directory
-
getFactFiles
Description copied from interface:Check4JsonBug
Get the initial fact files- Specified by:
getFactFiles
in interfaceCheck4JsonBug
- Returns:
-
getRuleFiles
Description copied from interface:Check4JsonBug
Return the rule files to be loaded.
Null if no rule file has to be loaded.- Specified by:
getRuleFiles
in interfaceCheck4JsonBug
- Returns:
- list of rule files to be loaded
-