Download this file
41 lines (26 with data), 627 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40 | #ifndef RULE_PARSER_H_
#define RULE_PARSER_H_
#include "rdf_rule_core.h"
#include "rdf_graph.h"
#include "rule_internal.h"
#include "rule_properties.h"
#include "knowledge_base.h"
namespace rule {
namespace parser {
using rdf::index_type;
using rdf::index_triple;
class rule_parser
{
public:
rule_parser():
m_optimization(false) {};
~rule_parser() {};
void set_optimization(bool b=true) {m_optimization = b;};
void parse(std::string);
void compute_knowledge_base();
private:
bool m_optimization;
};
}; /* parser namespace */
}; /* rule namespace */
#endif /*RULE_PARSER_H_*/
|
×
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.