~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to include/PetriParse/QueryParser.h

  • Committer: srba.jiri at gmail
  • Date: 2020-09-11 14:23:39 UTC
  • mfrom: (213.1.151 interval_tar)
  • Revision ID: srba.jiri@gmail.com-20200911142339-bq9328s1gppw24uj
merged in lp:~verifypn-maintainers/verifypn/interval_tar doing 
- Implements TAR w/o z3, but using a simple integer inference engine for Hoare logic.
 - Replaces LP-Solve with GLPK, reduces computation-time and memory overhead
 - Implements new global properties, translated into CTL formulae.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#ifndef QUERYPARSER_H
 
3
#define QUERYPARSER_H
 
4
 
 
5
 
 
6
#include "PetriEngine/PQL/PQL.h"
 
7
using namespace PetriEngine::PQL;
 
8
 
 
9
struct QueryItem {
 
10
    string id; // query name
 
11
    Condition_ptr query;
 
12
 
 
13
    enum {
 
14
        PARSING_OK,
 
15
        UNSUPPORTED_QUERY,
 
16
    } parsingResult;
 
17
};
 
18
 
 
19
 
 
20
#endif /* QUERYPARSER_H */
 
21