Framework containing ASP-based implementations for problems related to linear temporal logic (on fixed traces), specifically geared towards declarative process specifications.
- To generate a Makefile using cmake the packages bison and re2c need to be installed, otherwise the Clingo library cannot be compiled
./ltl_app cc <kb_file> <trace_file> <variant>
-
<kb_file>
: path to specification -
<trace_file>
: path to traces -
<variant>
: select a variant from:-
ac
($\mathrm{ASP_{AC}}$ : all constraints are checked within a single solver call) -
sc
($\mathrm{ASP_{SC}}$ : each constraint is checked in an individual solver call) -
sc-es
($\mathrm{ASP_{SC}}$ with early stopping)
-
Example:
./ltl_app cc ../examples/specifications/specification_01.txt ../examples/trace_files/traces_01.txt ac
./ltl_app mc <kb_file> <trace_file>
<kb_file>
: path to specification / knowledge base<model_file>
: path to a file containing an interpretation
Example:
./ltl_app mc ../examples/specifications/specification_01.txt ../examples/model_files/model_01.txt
./ltl_app sat <kb_file> <m>
<kb_file>
: path to specification<m>
: number of final state
Example (with
./ltl_app sat ../examples/specifications/specification_01.txt 5
./ltl_app sat-ltlff <kb_file> <m>
<kb_file>
: path to specification / knowledge base<m>
: number of final state
Example (with
./ltl_app sat-ltlff ../examples/specifications/specification_01.txt 5
A definition of the two inconsistency measures can be found here.
./ltl_app im <kb_file> <im> <m>
<kb_file>
: path to specification / knowledge base<im>
: inconsistency measure (contension-ltl
ordrastic-ltl
)<m>
: number of final state
Example (with
./ltl_app im ../examples/specifications/specification_02.txt contension-ltl 5
See the examples
folder for some example files.
In order to represent
- "<X>" denotes the next operator
- "<U>" denotes the until operator
- "<G>" denotes the globally operator
- "<F>" denotes the eventually operator
A trace file contains a set of traces (like an event log). Each line in the file represents an individual trace, and the atoms within a trace are separated by commas.
A model file contains a single interpretation. Each line consists of a pair <atom, state>, separated by a comma.