17 #ifndef JUBATUS_CORE_CLUSTERING_TYPES_HPP_
18 #define JUBATUS_CORE_CLUSTERING_TYPES_HPP_
25 #include <msgpack.hpp>
27 #include "../common/type.hpp"
28 #include "../fv_converter/datum.hpp"
32 namespace clustering {
55 typedef std::vector<weighted_point>
wplist;
56 typedef std::vector<common::sfv_t>
plist;
57 typedef std::vector<std::pair<std::string, wplist> >
diff_t;
63 #endif // JUBATUS_CORE_CLUSTERING_TYPES_HPP_
MSGPACK_DEFINE(weight, data, original)
std::vector< cluster_unit > cluster_set
fv_converter::datum original
std::vector< std::pair< cluster_weight, jubatus::core::fv_converter::datum > > cluster_unit
void swap(weighted_point &p1, weighted_point &p2)
std::vector< std::pair< std::string, wplist > > diff_t
std::vector< std::pair< std::string, float > > sfv_t
std::vector< common::sfv_t > plist
std::vector< weighted_point > wplist