Class DirectionalReasonerTest
java.lang.Object
org.tweetyproject.arg.aspic.examples.DirectionalReasonerTest
Test runtime of module-based vs. directional reasoners.
Also checks if they give the same answers
- Author:
- Tjitze Rienstra
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static <T> T
runWithTimeout
(Callable<T> callable, long timeout, TimeUnit timeUnit)
-
Constructor Details
-
DirectionalReasonerTest
public DirectionalReasonerTest()
-
-
Method Details
-
main
- Parameters:
args
- args
-
runWithTimeout
public static <T> T runWithTimeout(Callable<T> callable, long timeout, TimeUnit timeUnit) throws Exception - Type Parameters:
T
- some callable object- Parameters:
callable
- callable objecttimeout
- timeout for runtimetimeUnit
- unit for timeout- Returns:
- directional reasoner result
- Throws:
Exception
- exception
-