Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sogMBT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
PMC-SOG
sogMBT
Commits
3675dcf5
Commit
3675dcf5
authored
4 months ago
by
Jaime Arias
Browse files
Options
Downloads
Patches
Plain Diff
refactor: remove nb_marking variable
parent
c207d838
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#9303
passed
4 months ago
Stage: external
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/petri_net_sog.cpp
+0
-1
0 additions, 1 deletion
src/petri_net_sog.cpp
src/sog.cpp
+0
-1
0 additions, 1 deletion
src/sog.cpp
src/sog.hpp
+0
-3
0 additions, 3 deletions
src/sog.hpp
with
0 additions
and
5 deletions
src/petri_net_sog.cpp
+
0
−
1
View file @
3675dcf5
...
...
@@ -310,7 +310,6 @@ Paths PetriNetSOG::ObservablePaths(SOG &sog, map<int, int> trans_obs) const {
sog
.
set_initial_state
(
c
);
sog
.
AddState
(
c
);
//sog.nb_marking += bdd_pathcount(c->state);
// TODO: What is the purpose of the old variable?
bool
old
=
true
;
...
...
This diff is collapsed.
Click to expand it.
src/sog.cpp
+
0
−
1
View file @
3675dcf5
...
...
@@ -46,7 +46,6 @@ int SOG::NbBddNode(Aggregate *state, size_t counter) {
void
SOG
::
PrintCompleteInformation
()
{
std
::
cout
<<
"
\n\n
GRAPH SIZE :"
;
std
::
cout
<<
"
\n\t
NB MARKING : "
<<
nb_marking
;
std
::
cout
<<
"
\n\t
NB NODES : "
<<
nb_states
;
std
::
cout
<<
"
\n\t
NB ARCS : "
<<
nb_edges
<<
"
\n
"
;
...
...
This diff is collapsed.
Click to expand it.
src/sog.hpp
+
0
−
3
View file @
3675dcf5
...
...
@@ -40,9 +40,6 @@ class SOG {
*/
size_t
nb_edges
{
0
};
// TODO: What is this variable? Is it well named or defined?
double
nb_marking
{
0
};
/**
* Set the initial state of this graph
* @param state the initial state
...
...
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