Ignore:
Timestamp:
Oct 16, 2010, 4:17:30 PM (11 years ago)
Author:
Peter
Message:

refs #627 extending NeighborWeighting? concept to require defaulf constructor and assign operator. Added a archetype class in test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/knn_test.cc

    r2338 r2339  
    7878    boost::detail::dummy_constructor dummy;
    7979    test::distance_archetype distance(dummy);
    80     classifier::KNN<test::distance_archetype> knn(distance);
     80    classifier::KNN<test::distance_archetype
     81                    , test::neighbor_weighting_archetype> knn(distance);
    8182    knn.k(3);
    8283    knn.k();
Note: See TracChangeset for help on using the changeset viewer.