class cvflann::KMeansIndex::KMeansDistanceComputer

#include <kmeans_index.h>

class KMeansDistanceComputer: public cv::ParallelLoopBody
{
public:
    // construction

    KMeansDistanceComputer(
        Distance _distance,
        const Matrix<ElementType>& _dataset,
        const int _branching,
        const int* _indices,
        const Matrix<double>& _dcenters,
        const size_t _veclen,
        int* _count,
        int* _belongs_to,
        std::vector<DistanceType>& _radiuses,
        bool& _converged,
        cv::Mutex& _mtx
        );

    // methods

    virtual
    void
    operator()(const cv::Range& range) const;
};

Inherited Members

public:
    // methods

    virtual
    void
    operator()(const Range& range) const = 0;