| 663 | {} |
| 664 | |
| 665 | void perform_test ( |
| 666 | ) |
| 667 | { |
| 668 | // The idea here is to exercize all the various overloads of the kcentroid object. We also want |
| 669 | // to exercize the non-overloaded default version. That is why we have these unopt_* linear |
| 670 | // kernels |
| 671 | test_kcentroid_with_linear_kernel<linear_kernel<matrix<double,5,1> > >(); |
| 672 | test_kcentroid_with_offset_linear_kernel<offset_kernel<linear_kernel<matrix<double,4,1> > > >(); |
| 673 | test_kcentroid_with_linear_kernel<unopt_linear_kernel<matrix<double,5,1> > >(); |
| 674 | test_kcentroid_with_offset_linear_kernel<offset_kernel<unopt_linear_kernel<matrix<double,4,1> > > >(); |
| 675 | test_kcentroid_with_sparse_linear_kernel<sparse_linear_kernel<std::map<unsigned long,double> > >(); |
| 676 | test_kcentroid_with_offset_sparse_linear_kernel<offset_kernel<sparse_linear_kernel<std::map<unsigned long,double> > > >(); |
| 677 | test_kcentroid_with_sparse_linear_kernel<unopt_sparse_linear_kernel<std::map<unsigned long,double> > >(); |
| 678 | test_kcentroid_with_offset_sparse_linear_kernel<offset_kernel<unopt_sparse_linear_kernel<std::map<unsigned long,double> > > >(); |
| 679 | } |
| 680 | } a; |
| 681 | |
| 682 | } |
nothing calls this directly
no outgoing calls
no test coverage detected