Skip to content
Permalink
63511ee2d5
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
45 lines (35 sloc) 900 Bytes
/**
* Non-metric Space Library
*
* Main developers: Bilegsaikhan Naidan, Leonid Boytsov, Yury Malkov, Ben Frederickson, David Novak
*
* For the complete list of contributors and further details see:
* https://github.com/searchivarius/NonMetricSpaceLib
*
* Copyright (c) 2013-2018
*
* This code is released under the
* Apache License Version 2.0 http://www.apache.org/licenses/.
*
*/
#ifndef _FACTORY_BBTREE_H_
#define _FACTORY_BBTREE_H_
#if WITH_EXTRAS
#include <method/bbtree.h>
namespace similarity {
/*
* Creating functions.
*/
template <typename dist_t>
Index<dist_t>* CreateBBTree(bool PrintProgress,
const string& SpaceType,
Space<dist_t>& space,
const ObjectVector& DataObjects) {
return new BBTree<dist_t>(space, DataObjects);
}
/*
* End of creating functions.
*/
}
#endif
#endif