Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TTool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mbe-tools
TTool
Merge requests
!343
Stable verification traces
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Stable verification traces
alessandro_branch
into
master
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Alessandro Tempia Calvino
requested to merge
alessandro_branch
into
master
4 years ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
e4fe5d5f
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
e4fe5d5f
Fixed trace to deadlock
· e4fe5d5f
tempiaa
authored
4 years ago
src/main/java/avatartranslator/modelchecker/CounterexampleTrace.java
+
2
−
2
Options
@@ -89,7 +89,7 @@ public class CounterexampleTrace {
CounterexampleTraceState
cs
=
counterexampleState
;
CounterexampleTraceState
loopPoint
=
counterstates
.
get
(
counterexampleState
.
hash
);
if
(
loopPoint
!=
null
)
{
if
(
loopPoint
!=
null
&&
loopPoint
!=
counterexampleState
)
{
//search for a loop
boolean
loop
=
false
;
while
(
cs
.
father
!=
null
)
{
@@ -251,7 +251,7 @@ public class CounterexampleTrace {
if
(!
statesID
.
containsKey
(
states
.
get
(
cs
.
hash
).
id
))
{
statesID
.
put
(
states
.
get
(
cs
.
hash
).
id
,
id
++);
}
if
(
state
!=
null
)
{
if
(
state
!=
null
&&
state
.
nexts
!=
null
)
{
for
(
SpecificationLink
sl
:
state
.
nexts
)
{
if
(
sl
.
destinationState
.
hashValue
==
cs
.
hash
)
{
s
.
append
(
"("
+
statesID
.
get
(
sl
.
originState
.
id
)
+
",\""
+
sl
.
action
+
"\","
+
statesID
.
get
(
sl
.
destinationState
.
id
)
+
")\n"
);
Loading