Skip to content
Snippets Groups Projects
Commit b2c3df88 authored by Jens Bendisposto's avatar Jens Bendisposto
Browse files

Use AuxAniamtor for Disproving

parent deb94994
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,7 @@ import de.prob.exceptions.ProBException;
public final class Animator {
private static Animator animator = new Animator();
private static Animator auxanimator = null;
/**
*
......@@ -66,6 +67,14 @@ public final class Animator {
return animator;
}
public final static Animator getAuxAnimator() {
if (auxanimator == null) {
auxanimator = new Animator();
}
return auxanimator;
}
/**
* Terminates the current animation (forcefully!) and restarts the ProB
* core. After calling this method, all information from the current
......
......@@ -109,7 +109,7 @@ public class DisproverReasoner implements IReasoner {
IEventBProject evbProject = (IEventBProject) project
.getAdapter(IEventBProject.class);
ICounterExample counterExample = DisproverCommand.disprove(
Animator.getAnimator(), evbProject, allHypotheses,
Animator.getAuxAnimator(), evbProject, allHypotheses,
selectedHypotheses, goal, timeoutFactor, context, pm);
// Logger.info("Disprover: Result: " + counterExample.toString());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment