Commit 4e05d7f1 authored by Davis King's avatar Davis King

Added a default constructor to the linearly_independent_subset_finder.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403300
parent c01632ee
......@@ -54,6 +54,13 @@ namespace dlib
typedef typename kernel_type::sample_type sample_type;
typedef typename kernel_type::mem_manager_type mem_manager_type;
linearly_independent_subset_finder (
) :
my_max_dictionary_size(100),
min_tolerance(0.001)
{
clear_dictionary();
}
linearly_independent_subset_finder (
const kernel_type& kernel_,
......
......@@ -44,6 +44,15 @@ namespace dlib
typedef typename kernel_type::sample_type sample_type;
typedef typename kernel_type::mem_manager_type mem_manager_type;
linearly_independent_subset_finder (
);
/*!
ensures
- #minimum_tolerance() == 0.001
- this object is properly initialized
- #get_kernel() == kernel_type() (i.e. whatever the default is for the supplied kernel)
- #max_dictionary_size() == 100
!*/
linearly_independent_subset_finder (
const kernel_type& kernel_,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment