12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #ifndef CLUSTERALGORITHMINCLUDE
- #define CLUSTERALGORITHMINCLUDE
- #include <core/basics/Exception.h>
- #include <core/vector/VectorT.h>
- #include <core/vector/MatrixT.h>
- #include <core/vector/VVector.h>
- namespace OBJREC {
-
- class ClusterAlgorithm
- {
- protected:
- public:
-
-
- ClusterAlgorithm();
-
-
- virtual ~ClusterAlgorithm();
- virtual void cluster (
- const NICE::VVector & features,
- NICE::VVector & prototypes,
- std::vector<double> & weights,
- std::vector<int> & assignment ) = 0;
-
- };
- }
- #endif
|