Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ProB Rodin Plugin
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
ProB Rodin Plugin
Commits
b2c3df88
Commit
b2c3df88
authored
10 years ago
by
Jens Bendisposto
Browse files
Options
Downloads
Patches
Plain Diff
Use AuxAniamtor for Disproving
parent
deb94994
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
de.prob.core/src/de/prob/core/Animator.java
+9
-0
9 additions, 0 deletions
de.prob.core/src/de/prob/core/Animator.java
de.prob.eventb.disprover.core/src/de/prob/eventb/disprover/core/internal/DisproverReasoner.java
+1
-1
1 addition, 1 deletion
...rob/eventb/disprover/core/internal/DisproverReasoner.java
with
10 additions
and
1 deletion
de.prob.core/src/de/prob/core/Animator.java
+
9
−
0
View file @
b2c3df88
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
de.prob.eventb.disprover.core/src/de/prob/eventb/disprover/core/internal/DisproverReasoner.java
+
1
−
1
View file @
b2c3df88
...
...
@@ -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
.
getA
uxA
nimator
(),
evbProject
,
allHypotheses
,
selectedHypotheses
,
goal
,
timeoutFactor
,
context
,
pm
);
// Logger.info("Disprover: Result: " + counterExample.toString());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment