Skip to content
Snippets Groups Projects
Commit 16fc6375 authored by Chiheb Ameur Abid's avatar Chiheb Ameur Abid
Browse files

modifié : src/CommonSOG.cpp

	modifié :         src/LDDState.cpp
parent 2e7efb1e
No related branches found
No related tags found
No related merge requests found
...@@ -178,12 +178,12 @@ bool CommonSOG::Set_Div(MDD &M) const { ...@@ -178,12 +178,12 @@ bool CommonSOG::Set_Div(MDD &M) const {
} }
if (Reached == From) { if (Reached == From) {
MDD Reached_obs=lddmc_false; /*MDD Reached_obs=lddmc_false;
for (i = m_observable.begin(); !(i == m_observable.end()) && (Reached_obs==lddmc_false); i++) { for (i = m_observable.begin(); !(i == m_observable.end()) && (Reached_obs==lddmc_false); i++) {
Reached_obs= fireTransition(From, m_tb_relation[(*i)].getMinus(), m_tb_relation[(*i)].getPlus()); Reached_obs= fireTransition(From, m_tb_relation[(*i)].getMinus(), m_tb_relation[(*i)].getPlus());
} }
if (Reached_obs==lddmc_false) return true; if (Reached_obs==lddmc_false) return true;*/
return false; return true;
} }
From = Reached; From = Reached;
} while (Reached != lddmc_false); } while (Reached != lddmc_false);
......
...@@ -58,23 +58,6 @@ vector<uint16_t> LDDState::getUnmarkedPlaces(set<uint16_t>& lplacesAP) { ...@@ -58,23 +58,6 @@ vector<uint16_t> LDDState::getUnmarkedPlaces(set<uint16_t>& lplacesAP) {
} }
} }
return result; return result;
/*cout<<"Display begin"<<endl;
for (auto & iter : lplacesAP)
cout<<iter<<endl;
cout<<"Display end"<<endl;*/
/*uint16_t depth=0;
while (mdd>lddmc_true)
{
//printf("mddd : %d \n",mdd);
mddnode_t node=SylvanWrapper::GETNODE(mdd);
if (lplacesAP.find(depth)!=lplacesAP.end())
if (SylvanWrapper::mddnode_getvalue(node)==0) {
result.push_back(depth);
}
mdd=SylvanWrapper::mddnode_getdown(node);
depth++;
}
return result;*/
} }
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