Minor cleanup, I removed unnecessary code.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404187
This commit is contained in:
Davis King 2011-03-23 01:08:55 +00:00
parent 514e0f3853
commit 3db2ece675
2 changed files with 0 additions and 108 deletions

View File

@ -64,20 +64,6 @@ namespace dlib
basis_vectors(basis_vectors_)
{}
decision_function& operator= (
const decision_function& d
)
{
if (this != &d)
{
alpha = d.alpha;
b = d.b;
kernel_function = d.kernel_function;
basis_vectors = d.basis_vectors;
}
return *this;
}
result_type operator() (
const sample_type& x
) const
@ -169,19 +155,6 @@ namespace dlib
decision_funct(decision_funct_)
{}
probabilistic_function& operator= (
const probabilistic_function& d
)
{
if (this != &d)
{
alpha = d.alpha;
beta = d.beta;
decision_funct = d.decision_funct;
}
return *this;
}
result_type operator() (
const sample_type& x
) const
@ -277,19 +250,6 @@ namespace dlib
decision_funct(decision_funct_)
{}
probabilistic_decision_function& operator= (
const probabilistic_decision_function& d
)
{
if (this != &d)
{
alpha = d.alpha;
beta = d.beta;
decision_funct = d.decision_funct;
}
return *this;
}
result_type operator() (
const sample_type& x
) const
@ -454,20 +414,6 @@ namespace dlib
const sample_vector_type& get_basis_vectors (
) const { return basis_vectors; }
distance_function& operator= (
const distance_function& d
)
{
if (this != &d)
{
alpha = d.alpha;
b = d.b;
kernel_function = d.kernel_function;
basis_vectors = d.basis_vectors;
}
return *this;
}
result_type operator() (
const sample_type& x
) const

View File

@ -75,15 +75,6 @@ namespace dlib
b term, and kernel function.
!*/
decision_function& operator= (
const decision_function& d
);
/*!
ensures
- #*this is identical to d
- returns *this
!*/
result_type operator() (
const sample_type& x
) const
@ -179,15 +170,6 @@ namespace dlib
and decision function.
!*/
probabilistic_function& operator= (
const probabilistic_function& d
);
/*!
ensures
- #*this is identical to d
- returns *this
!*/
result_type operator() (
const sample_type& x
) const
@ -299,15 +281,6 @@ namespace dlib
and decision_function.
!*/
probabilistic_decision_function& operator= (
const probabilistic_decision_function& d
);
/*!
ensures
- #*this is identical to d
- returns *this
!*/
result_type operator() (
const sample_type& x
) const
@ -518,15 +491,6 @@ namespace dlib
- returns the set of basis vectors contained in this object
!*/
distance_function& operator= (
const distance_function& d
);
/*!
ensures
- #*this is identical to d
- returns *this
!*/
result_type operator() (
const sample_type& x
) const;
@ -696,15 +660,6 @@ namespace dlib
- populates this object with the vector_normalizer and function object
!*/
normalized_function& operator= (
const normalized_function& d
);
/*!
ensures
- #*this is identical to d
- returns *this
!*/
result_type operator() (
const sample_type& x
) const
@ -797,15 +752,6 @@ namespace dlib
and kernel function.
!*/
projection_function& operator= (
const projection_function& d
);
/*!
ensures
- #*this is identical to d
- returns *this
!*/
long out_vector_size (
) const;
/*!