mlpack
3.1.1
src
mlpack
methods
gmm
no_constraint.hpp
Go to the documentation of this file.
1
12
#ifndef MLPACK_METHODS_GMM_NO_CONSTRAINT_HPP
13
#define MLPACK_METHODS_GMM_NO_CONSTRAINT_HPP
14
15
#include <
mlpack/prereqs.hpp
>
16
17
namespace
mlpack
{
18
namespace
gmm {
19
25
class
NoConstraint
26
{
27
public
:
29
static
void
ApplyConstraint
(
const
arma::mat&
/* covariance */
) { }
30
32
template
<
typename
Archive>
33
static
void
serialize
(Archive&
/* ar */
,
const
unsigned
int
/* version */
) { }
34
};
35
36
}
// namespace gmm
37
}
// namespace mlpack
38
39
#endif
mlpack::gmm::NoConstraint
This class enforces no constraint on the covariance matrix.
Definition:
no_constraint.hpp:25
prereqs.hpp
mlpack::gmm::NoConstraint::serialize
static void serialize(Archive &, const unsigned int)
Serialize the object (nothing to do).
Definition:
no_constraint.hpp:33
mlpack
@serialization.hpp
Definition:
add_to_po.hpp:21
mlpack::gmm::NoConstraint::ApplyConstraint
static void ApplyConstraint(const arma::mat &)
Do nothing, and do not modify the covariance matrix.
Definition:
no_constraint.hpp:29
Generated by
1.8.17