17 #ifndef JUBATUS_CORE_NEAREST_NEIGHBOR_NEAREST_NEIGHBOR_FACTORY_HPP_
18 #define JUBATUS_CORE_NEAREST_NEIGHBOR_NEAREST_NEIGHBOR_FACTORY_HPP_
22 #include "jubatus/util/lang/shared_ptr.h"
23 #include "../common/jsonconfig.hpp"
30 namespace nearest_neighbor {
32 class nearest_neighbor_base;
35 const std::string& name,
36 const common::jsonconfig::config& config,
37 jubatus::util::lang::shared_ptr<storage::column_table> table,
38 const std::string&
id);
44 #endif // JUBATUS_CORE_NEAREST_NEIGHBOR_NEAREST_NEIGHBOR_FACTORY_HPP_
shared_ptr< nearest_neighbor_base > create_nearest_neighbor(const std::string &name, const common::jsonconfig::config &config, shared_ptr< storage::column_table > table, const std::string &id)