Skip to content
Snippets Groups Projects
Commit 55fd0422 authored by Jaime Arias's avatar Jaime Arias
Browse files

docs: add some comments

parent 0db230e9
No related branches found
No related tags found
No related merge requests found
Pipeline #9316 passed
......@@ -512,6 +512,7 @@ Path PetriNetSOG::AbstractPath(Path path, const SOG &sog) const {
int PetriNetSOG::ComputeWeightOfAggregate(const Aggregate *aggr,
const int t_source,
const int t_target) const {
// TODO: I think I'm missing something here
const bdd source = relation[t_source][aggr->state];
// backtracking from t_target until t_source
......@@ -519,7 +520,7 @@ int PetriNetSOG::ComputeWeightOfAggregate(const Aggregate *aggr,
bdd current_state = SearchExitPoints(aggr->state, t_target);
while ((source & current_state) == bdd_false()) {
pair<int, bdd> step = StepBackward(current_state, aggr);
current_state = step.second & aggr->state; // keep in the aggregate
current_state = step.second & aggr->state; // stay in the aggregate
counter++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment