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

modifié : CMakeLists.txt

	modifié :         src/SogKripkeTh.cpp
parent b1d45e9d
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ if(NOT SPOT_LIBRARY)
ExternalProject_Add(SpotLibrary
PREFIX ${SPOT_DIR}
URL http://www.lrde.epita.fr/dload/spot/spot-2.8.5.tar.gz
URL http://www.lrde.epita.fr/dload/spot/spot-2.8.7.tar.gz
DOWNLOAD_NO_PROGRESS YES
CONFIGURE_COMMAND ./configure --disable-doxygen --disable-python --enable-silent-rules --silent --prefix=<INSTALL_DIR>
BUILD_COMMAND make -j
......@@ -42,11 +42,11 @@ if(NOT SPOT_LIBRARY)
include_directories("${SPOT_DIR}/include")
else ()
message(STATUS "Found spot: ${SPOT_LIBRARY}")
message(STATUS "Found bddx: ${BDDX_LIBRARY}")
message(STATUS "Found spot: ${SPOT_LIBRARY}")
message(STATUS "Found bddx: ${BDDX_LIBRARY}")
find_path(SPOT_INCLUDE_PATH "spot")
include_directories("${SPOT_INCLUDE_PATH}")
find_path(SPOT_INCLUDE_PATH "spot")
include_directories("${SPOT_INCLUDE_PATH}")
endif()
# add source folder
......
......@@ -56,13 +56,13 @@ SogKripkeIteratorTh* SogKripkeTh::succ_iter(const spot::state* s) const {
auto ss = static_cast<const SogKripkeStateTh*>(s);
LDDState *aggregate=ss->getLDDState();
bdd cond = state_condition(ss);
if (iter_cache_)
/*if (iter_cache_)
{
auto it = static_cast<SogKripkeIteratorTh*>(iter_cache_);
iter_cache_ = nullptr; // empty the cache
it->recycle(aggregate, cond);
return it;
}
}*/
return new SogKripkeIteratorTh(aggregate,cond);
......
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