Menu

[r8]: / py_top_module / py_rule_engine.cpp  Maximize  Restore  History

Download this file

27 lines (19 with data), 683 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "py_rule_engine.h"
#include "psearch_session.h"
using namespace boost::python;
/////////////////////////////////////////////////////////////////////////////////////////
// export_rule_engine
//
/////////////////////////////////////////////////////////////////////////////////////////
void
export_rule_engine()
{
class_<rule::rule_engine, rule::rule_engine_ptr_type>("rule_engine", no_init)
.def("create_rule_session", &rule::rule_engine::create_rule_session)
.def("create_psearch_session", &rule::rule_engine::create_psearch_session)
;
//
// create rdf graph wrapper
//
def("create_rule_engine", create_rule_engine_x1);
};
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.