Skip to content
Snippets Groups Projects
Commit 5eeeba34 authored by Chiheb Amer Abid's avatar Chiheb Amer Abid
Browse files

modifié : src/ModelCheckLace.cpp

	modifié :         src/ModelCheckLace.h
	modifié :         src/SogKripkeOTF.cpp
parent f922ac67
No related branches found
No related tags found
No related merge requests found
......@@ -120,3 +120,8 @@ string ModelCheckLace::getTransition(int pos) {
string temp;
return temp;
}
string ModelCheckLace::getPlace(int pos) {
string temp;
return temp;
}
......@@ -6,6 +6,7 @@ public:
ModelCheckLace(const NewNet &R, int BOUND,int nbThread);
LDDState * buildInitialMetaState();
string getTransition(int pos);
string getPlace(int pos);
private:
int m_nb_thread;
MDD m_initalMarking;
......
......@@ -58,13 +58,13 @@ bdd SogKripkeOTF::state_condition(const spot::state* s) const
bdd result=bddtrue;
// Marked places
for (auto it=marked_place.begin();it!=marked_place.end();it++) {
string name=m_sog->getPlace(*it);
string name=m_builder->getPlace(*it);
spot::formula f=spot::formula::ap(name);
result&=bdd_ithvar((dict_->var_map.find(f))->second);
}
vector<int> unmarked_place=ss->getLDDState()->getUnmarkedPlaces(m_sog->getConstructor()->getPlaceProposition());
vector<int> unmarked_place=ss->getLDDState()->getUnmarkedPlaces(m_builder->getPlaceProposition());
for (auto it=unmarked_place.begin();it!=unmarked_place.end();it++) {
string name=m_sog->getPlace(*it);
string name=m_builder->getPlace(*it);
spot::formula f=spot::formula::ap(name);
result&=!bdd_ithvar((dict_->var_map.find(f))->second);
}
......
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