28 #ifndef DOXYGEN_SHOULD_SKIP_THIS 36 template <
template <
typename >
class ALLOC >
38 const DatabaseTable< ALLOC >& database,
39 const Bijection<
NodeId, std::size_t, ALLOC< std::size_t > >&
42 AprioriSmoothing< ALLOC >(database, nodeId2columns, alloc) {
48 template <
template <
typename >
class ALLOC >
50 const AprioriK2< ALLOC >& from,
58 template <
template <
typename >
class ALLOC >
64 template <
template <
typename >
class ALLOC >
66 AprioriK2< ALLOC >&& from,
74 template <
template <
typename >
class ALLOC >
80 template <
template <
typename >
class ALLOC >
83 ALLOC< AprioriK2< ALLOC > > allocator(alloc);
84 AprioriK2< ALLOC >* apriori = allocator.allocate(1);
86 allocator.construct(apriori, *
this, alloc);
88 allocator.deallocate(apriori, 1);
97 template <
template <
typename >
class ALLOC >
104 template <
template <
typename >
class ALLOC >
111 template <
template <
typename >
class ALLOC >
113 operator=(
const AprioriK2< ALLOC >& from) {
120 template <
template <
typename >
class ALLOC >
129 template <
template <
typename >
class ALLOC >
virtual void setWeight(const double weight) final
dummy set weight function: in K2, weights are always equal to 1
AprioriK2(const DatabaseTable< ALLOC > &database, const Bijection< NodeId, std::size_t, ALLOC< std::size_t > > &nodeId2columns=Bijection< NodeId, std::size_t, ALLOC< std::size_t > >(), const allocator_type &alloc=allocator_type())
default constructor
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
virtual AprioriK2< ALLOC > * clone() const
virtual copy constructor
virtual ~AprioriK2()
destructor
AprioriK2< ALLOC > & operator=(const AprioriK2< ALLOC > &from)
copy operator
double weight() const
returns the weight assigned to the apriori
ALLOC< NodeId > allocator_type
type for the allocators passed in arguments of methods
allocator_type getAllocator() const
returns the allocator used by the internal apriori
AprioriSmoothing< ALLOC > & operator=(const AprioriSmoothing< ALLOC > &from)
copy operator
AprioriSmoothing(const DatabaseTable< ALLOC > &database, const Bijection< NodeId, std::size_t, ALLOC< std::size_t > > &nodeId2columns=Bijection< NodeId, std::size_t, ALLOC< std::size_t > >(), const allocator_type &alloc=allocator_type())
default constructor
Size NodeId
Type for node ids.