19 #ifndef SPOT_FASTTGBAALGOS_EC_CONCUR_OPENSET_HH
20 # define SPOT_FASTTGBAALGOS_EC_CONCUR_OPENSET_HH
22 #include "fasttgba/fasttgba.hh"
34 #include "fasttgbaalgos/ec/concur/open_set.h"
50 openset(
int thread_number) : thread_number_(thread_number), size_(0)
52 effective_os = open_set_alloc(&DATATYPE_INT_PTRINT,
53 INIT_SCALE, thread_number);
59 open_set_free (effective_os, size_, thread_number_);
65 bool b = open_set_find_or_put(effective_os, (map_key_t) key);
87 open_set_t* effective_os;
89 std::atomic<int> size_;
92 #endif // SPOT_FASTTGBAALGOS_EC_CONCUR_OPEN_HH
this class acts like a wrapper to the C code of the open_set.
Definition: public.hh:32
openset(int thread_number)
Constructor.
Definition: openset.hh:50
int size()
the current size of the open_set
Definition: openset.hh:81
This class act as an interface for all classes.
Definition: fasttgba_state.hh:30
const fasttgba_state * get_one(int tn)
Get the next state to deal with Return a new state or 0.
Definition: openset.hh:75
Definition: openset.hh:45
virtual ~openset()
Basic destructor.
Definition: openset.hh:57