2018-10-10 16:23:10 +08:00
|
|
|
#include "interactive_planning.hpp"
|
2017-08-28 15:08:08 +08:00
|
|
|
|
2018-10-10 16:23:10 +08:00
|
|
|
#include <gflags/gflags.h>
|
|
|
|
#include <glog/logging.h>
|
2017-08-28 15:08:08 +08:00
|
|
|
|
2018-10-05 18:37:23 +08:00
|
|
|
#include "database/single_node/graph_db.hpp"
|
|
|
|
#include "database/single_node/graph_db_accessor.hpp"
|
2017-08-28 15:08:08 +08:00
|
|
|
|
2018-02-23 22:49:56 +08:00
|
|
|
DECLARE_int32(min_log_level);
|
|
|
|
|
2017-08-28 15:08:08 +08:00
|
|
|
int main(int argc, char *argv[]) {
|
|
|
|
gflags::ParseCommandLineFlags(&argc, &argv, true);
|
2018-02-23 22:49:56 +08:00
|
|
|
FLAGS_min_log_level = google::ERROR;
|
2017-08-28 15:08:08 +08:00
|
|
|
google::InitGoogleLogging(argv[0]);
|
2018-10-09 17:09:10 +08:00
|
|
|
database::GraphDb db;
|
2018-07-26 15:08:21 +08:00
|
|
|
auto dba = db.Access();
|
2018-10-10 16:23:10 +08:00
|
|
|
RunInteractivePlanning(dba.get());
|
2017-08-28 15:08:08 +08:00
|
|
|
return 0;
|
|
|
|
}
|