Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Spot
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
111
Issues
111
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Spot
Spot
Commits
8ff86068
Commit
8ff86068
authored
Jul 04, 2018
by
Etienne Renault
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
twacube: 'mark_t' is deprecated
* spot/mc/ec.hh, spot/mc/intersect.hh, tests/core/twacube.cc: here.
parent
14a16b81
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
spot/mc/ec.hh
spot/mc/ec.hh
+3
-3
spot/mc/intersect.hh
spot/mc/intersect.hh
+1
-1
tests/core/twacube.cc
tests/core/twacube.cc
+3
-3
No files found.
spot/mc/ec.hh
View file @
8ff86068
// -*- coding: utf-8 -*-
// Copyright (C) 2015, 2016 Laboratoire de Recherche et
// Copyright (C) 2015, 2016
, 2018
Laboratoire de Recherche et
// Developpement de l'Epita
//
// This file is part of Spot, a model checking library.
...
...
@@ -72,7 +72,7 @@ namespace spot
bool
push_state
(
product_state
,
unsigned
dfsnum
,
acc_cond
::
mark_t
cond
)
{
uf_
.
makeset
(
dfsnum
);
roots_
.
push_back
({
dfsnum
,
cond
,
0U
});
roots_
.
push_back
({
dfsnum
,
cond
,
{}
});
return
true
;
}
...
...
@@ -146,7 +146,7 @@ namespace spot
};
std
::
queue
<
ctrx_element
*>
bfs
;
acc_cond
::
mark_t
acc
=
0U
;
acc_cond
::
mark_t
acc
=
{}
;
bfs
.
push
(
new
ctrx_element
({
&
this
->
todo
.
back
().
st
,
nullptr
,
this
->
sys_
.
succ
(
this
->
todo
.
back
().
st
.
st_kripke
,
this
->
tid_
),
...
...
spot/mc/intersect.hh
View file @
8ff86068
...
...
@@ -89,7 +89,7 @@ namespace spot
{
self
().
setup
();
product_state
initial
=
{
sys_
.
initial
(
tid_
),
twa_
->
get_initial
()};
if
(
SPOT_LIKELY
(
self
().
push_state
(
initial
,
dfs_number
+
1
,
0U
)))
if
(
SPOT_LIKELY
(
self
().
push_state
(
initial
,
dfs_number
+
1
,
{}
)))
{
todo
.
push_back
({
initial
,
sys_
.
succ
(
initial
.
st_kripke
,
tid_
),
twa_
->
succ
(
initial
.
st_prop
)});
...
...
tests/core/twacube.cc
View file @
8ff86068
...
...
@@ -39,12 +39,12 @@ int main()
auto
s1
=
tg
->
new_state
();
auto
s2
=
tg
->
new_state
();
auto
s3
=
tg
->
new_state
();
tg
->
new_edge
(
s1
,
s1
,
bddfalse
,
0U
);
tg
->
new_edge
(
s1
,
s2
,
p1
,
0U
);
tg
->
new_edge
(
s1
,
s1
,
bddfalse
,
{}
);
tg
->
new_edge
(
s1
,
s2
,
p1
,
{}
);
tg
->
new_edge
(
s1
,
s3
,
p2
,
tg
->
acc
().
mark
(
1
));
tg
->
new_edge
(
s2
,
s3
,
p1
&
p2
,
tg
->
acc
().
mark
(
0
));
tg
->
new_edge
(
s3
,
s1
,
p1
|
p2
,
spot
::
acc_cond
::
mark_t
({
0
,
1
}));
tg
->
new_edge
(
s3
,
s2
,
p1
>>
p2
,
0U
);
tg
->
new_edge
(
s3
,
s2
,
p1
>>
p2
,
{}
);
tg
->
new_edge
(
s3
,
s3
,
bddtrue
,
spot
::
acc_cond
::
mark_t
({
0
,
1
}));
// Test translation
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment