~verifypn-maintainers/verifypn/emptyTracePrint

« back to all changes in this revision

Viewing changes to CTL/SearchStrategy/HeuristicSearch.h

  • Committer: Jiri Srba
  • Date: 2018-04-18 10:58:36 UTC
  • mfrom: (197.3.78 cpn_ctlss)
  • Revision ID: srba.jiri@gmail.com-20180418105836-a5rha272u0om4u77
merged in branch lp:~verifypn-cpn/verifypn/cpn_ctlss/

CPN unfolding
CPN linear overapproximation
Export of reduced queries and model
parallel query simplification
TAR for P/T nets
Improved structural reduction rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* 
 
2
 * File:   Encoder.h
 
3
 * Author: Peter G. Jensen
 
4
 *
 
5
 * Created on March 7, 2018, 1:51 PM
 
6
 */
 
7
 
 
8
#ifndef HEURISTICSEARCH_H
 
9
#define HEURISTICSEARCH_H
 
10
 
 
11
#include <vector>
 
12
#include "CTL/DependencyGraph/Edge.h"
 
13
#include "SearchStrategy.h"
 
14
 
 
15
namespace SearchStrategy {
 
16
 
 
17
// A custom search strategy that should ensure as little overhead as possible
 
18
// while running sequential computation.
 
19
 
 
20
class HeuristicSearch : public SearchStrategy {
 
21
 
 
22
protected:
 
23
    size_t Wsize() const;
 
24
    void pushToW(DependencyGraph::Edge* edge);
 
25
    DependencyGraph::Edge* popFromW();
 
26
    std::vector<DependencyGraph::Edge*> W;
 
27
};
 
28
 
 
29
}   // end SearchStrategy
 
30
 
 
31
#endif /* HEURISTICSEARCH_H */
 
32