-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocumentation.dox
More file actions
84 lines (68 loc) · 2.58 KB
/
documentation.dox
File metadata and controls
84 lines (68 loc) · 2.58 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// -*- C++ -*-
/// the dlvhex namespace
namespace dlvhex {
/// namespace used for utils
namespace util { }
/// namespace used for generic classes of the dl-plugin
namespace dl {
/// namespace used for the unit and regression testsuite
namespace test { }
/// namespace used for RACER specific classes of the dl-plugin
namespace racer { }
}
}
/**
@mainpage Documentation DL Plugin
@author Thomas Krennwallner <tkren@kr.tuwien.ac.at>
This is the documentation for the dlvhex DL
Plugin.
@see http://www.kr.tuwien.ac.at/staff/roman/dlvhex
@defgroup PluginOverview Overview DL Plugin
This is a brief overview of the Racer plugin with its components and
their relationships and information flow.
@verbatim
________ ________________
| | | | instantiates and maintains the network connection,
| DLVHEX |<--------->| RacerInterface | the DL Cache and creates the external atoms as well
|________| |________________| as the DL Rewriter.
| ^ ^ ________________
| | | | |
| | +------------>| DL Rewriter | Rewrites DL programs to HEX programs.
| | |________________|
| | ________________
| | | |
| | +--->| DL Cache | Cache the answers to dl-queries.
Query | | Answer | |________________|
___v_|__________|___
| | setup of Query objects and QueryDirectors, on-the-fly
| RacerExtAtom | RACER process creation
|____________________|
| | represents a Racer command and provides caching and
| QueryDirector | command chaining support as well as inconsistency handling
| ^^ |
| ___||________||___ |
|| || | || || RacerBuilder uses the Query to create RACER commands
|| vv | ||
|| Racer | Racer || RacerParser fills Answer with the corresponding reply
|| Builder | Parser || of RACER
||_________|________||
|____________________|
| |
| TCP IOStream | handles network connection
|____________________|
^^
__________||___________ Process
__________||___________ boundary
||
_______vv_________
| |
| RACER DL |
| Inference |
| Engine |
|__________________|
@endverbatim
@defgroup QueryDirector A dl query command
@defgroup RacerInterface The plugin interface
@defgroup DLRewriter The DL Rewriter
@defgroup DLCache The DL Cache
*/