please gcc snapshot

* spot/bricks/brick-assert,
spot/bricks/brick-bitlevel,
spot/bricks/brick-shmem,
spot/bricks/brick-types,
spot/mc/bloemen.hh,
spot/mc/ec.hh,
spot/mc/intersect.hh,
tests/core/bricks.cc: Here.
This commit is contained in:
Etienne Renault 2018-11-29 16:14:42 +00:00
parent eb4e3f8be9
commit 2b9471b9a7
8 changed files with 68 additions and 251 deletions

View file

@ -90,6 +90,12 @@ namespace spot
using shared_map = brick::hashset::FastConcurrent <uf_element*,
uf_element_hasher>;
iterable_uf(const iterable_uf<State, StateHash, StateEqual>& uf):
map_(uf.map_), tid_(uf.tid_), size_(std::thread::hardware_concurrency()),
nb_th_(std::thread::hardware_concurrency()), inserted_(0),
p_(sizeof(uf_element))
{ }
iterable_uf(shared_map& map, unsigned tid):
map_(map), tid_(tid), size_(std::thread::hardware_concurrency()),
@ -389,6 +395,8 @@ namespace spot
}
private:
iterable_uf() = default;
shared_map map_; ///< \brief Map shared by threads copy!
unsigned tid_; ///< \brief The Id of the current thread
unsigned size_; ///< \brief Maximum number of thread
@ -414,8 +422,10 @@ namespace spot
typename StateHash, typename StateEqual>
class swarmed_bloemen
{
public:
private:
swarmed_bloemen() = delete;
public:
swarmed_bloemen(kripkecube<State, SuccIterator>& sys,
iterable_uf<State, StateHash, StateEqual>& uf,
unsigned tid):

View file

@ -44,6 +44,13 @@ namespace spot
StateEqual>>::product_state;
public:
ec_renault13lpar() = delete;
ec_renault13lpar(const ec_renault13lpar<State, SuccIterator,
StateHash, StateEqual>&) = default;
ec_renault13lpar(ec_renault13lpar<State, SuccIterator,
StateHash, StateEqual>&) = delete;
ec_renault13lpar(kripkecube<State, SuccIterator>& sys,
twacube_ptr twa, unsigned tid, bool stop)
: intersect<State, SuccIterator, StateHash, StateEqual,

View file

@ -59,6 +59,9 @@ namespace spot
class SPOT_API intersect
{
public:
intersect(const intersect<State, SuccIterator, StateHash,
StateEqual, EmptinessCheck>& i) = default;
intersect(kripkecube<State, SuccIterator>& sys,
twacube_ptr twa, unsigned tid, bool& stop):
sys_(sys), twa_(twa), tid_(tid), stop_(stop)