DocumentCode :
899031
Title :
A high-level Petri net for goal-directed semantics of Horn clause logic
Author :
Jeffrey, John ; Lobo, Jorge ; Murata, Tadao
Author_Institution :
Dept. of Comput. Sci. & Inf. Syst., Elmhurst Coll., IL, USA
Volume :
8
Issue :
2
fYear :
1996
fDate :
4/1/1996 12:00:00 AM
Firstpage :
241
Lastpage :
259
Abstract :
A new high level Petri net (HLPN) model is introduced as a graphical syntax for Horn clause logic (HCL) programs. We call these nets: Horn clause logic goal directed nets (HCLGNs). It is shown that there is a bijection between the queried definite programs and the class of HCLGNs. In addition, a visualization of SLD resolution is realized through the enabling and firing rules and net markings. The correctness of these rules with respect to SLD resolution is also proven. We model SLD refutations and failing computations. It is shown how HCLGNs can be used to model built in atoms and provide a new AND/OR parallel execution model. Recently, several software packages (graphical editors) have become available for editing and executing HLPNs. The simulation capabilities of the HLPN software offer opportunities to perform automated, interactive code walk throughs and also have potential for providing a framework for visual debugging environments. However, HCLGNs differ from the major classes of HLPNs for which software tools have been developed in primarily two ways: the tokens in the markings can have variables; and the firing of a transition may not only update the marking of the adjacent places, but may instantiate variables in tokens in the markings of places that are non adjacent to the fired transition. Thus, the existing packages can only provide graphical syntax editing and are not appropriate for graphical simulation of HCLGNs. We provide an algebraic characterization of HCLGNs that can serve as a design guideline for implementing HCLGNs
Keywords :
Horn clauses; Petri nets; knowledge based systems; logic programming; visual languages; visual programming; AND/OR parallel execution model; HCLGNs; HLPN software; Horn clause logic goal directed nets; SLD refutations; SLD resolution; SLD resolution visualization; algebraic characterization; firing rules; goal directed semantics; graphical editors; graphical simulation; graphical syntax; graphical syntax editing; high level Petri net; interactive code walk throughs; net markings; queried definite programs; rule correctness; simulation capabilities; visual debugging environments; Computational modeling; Guidelines; Logic; Packaging; Software debugging; Software packages; Software performance; Software tools; Superluminescent diodes; Visualization;
fLanguage :
English
Journal_Title :
Knowledge and Data Engineering, IEEE Transactions on
Publisher :
ieee
ISSN :
1041-4347
Type :
jour
DOI :
10.1109/69.494164
Filename :
494164
Link To Document :
بازگشت