-
Notifications
You must be signed in to change notification settings - Fork 1
/
missionagent.h
39 lines (29 loc) · 931 Bytes
/
missionagent.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef MISSIONAGENT_H
#define MISSIONAGENT_H
#include <iostream>
#include <string>
#include <map>
using namespace std;
/**
Distribute tasks to different classes, that are
responsible. It is designed for the sake of clarity of
the code.
@author: Wanlei Zhao
@email: stonescx@gmail.com
@date: Mar-28-2015
**/
class MissionAgent
{
public:
MissionAgent(){}
virtual ~MissionAgent(){}
/**visual vocabulary generation**/
static bool genVocab(map<string, const char*> ¶s, const char *vkgenOpt[]);
/**training tasks**/
static bool runTrain(map<string, const char*> ¶s, const char *trainOpt[]);
/**encoding vector tasks**/
static bool runEncode(map<string, const char*> ¶s, const char *encodeOpt[]);
/**fast nnSearch tasks with PQ and HE**/
static bool runNNsearch(map<string, const char*> ¶s, const char *nnsOpt[]);
};
#endif