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

PROBPLUGIN-113 use Aux Animator

parent 55808740
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
......
......@@ -121,7 +121,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