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
c207d838
Commit
c207d838
authored
4 months ago
by
Kais Klai
Browse files
Options
Downloads
Patches
Plain Diff
ajout attribut weight dans aggregate
parent
7cc93817
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#9301
passed
4 months ago
Stage: external
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/aggregate.hpp
+2
-1
2 additions, 1 deletion
src/aggregate.hpp
src/petri_net_sog.cpp
+1
-1
1 addition, 1 deletion
src/petri_net_sog.cpp
with
3 additions
and
2 deletions
src/aggregate.hpp
+
2
−
1
View file @
c207d838
...
...
@@ -30,7 +30,8 @@ class Aggregate {
* BDD of the aggregate
*/
bdd
state
;
/* matrix representing the weights of the shortest paths inside the aggregate */
std
::
vector
<
std
::
vector
<
int
>>
weight
;
/**
* Flag to indicate if the state loops using epsilon transitions
*/
...
...
This diff is collapsed.
Click to expand it.
src/petri_net_sog.cpp
+
1
−
1
View file @
c207d838
...
...
@@ -310,7 +310,7 @@ 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
);
//
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.
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