UnCoVer (Using Coverability for Verification)
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
BackwardAnalysisScenario.h
1 /***************************************************************************
2  * Copyright (C) 2014 by Jan Stückrath <jan.stueckrath@uni-due.de> *
3  * *
4  * This program is free software; you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation; either version 2 of the License, or *
7  * (at your option) any later version. *
8  * *
9  * This program is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12  * GNU General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU General Public License *
15  * along with this program; if not, write to the *
16  * Free Software Foundation, Inc., *
17  * 51 Franklin St, Fifth Floor, Boston, MA 02110, USA *
18  ***************************************************************************/
19 
20 #ifndef BACKWARDANALYSISSCENARIO_H_
21 #define BACKWARDANALYSISSCENARIO_H_
22 
23 #include "../analysis/BackwardAnalysis.h"
24 #include "../basic_types/Scenario.h"
25 #include "../graphs/GTS.h"
26 #include <boost/filesystem.hpp>
27 
28 namespace uncover {
29  namespace scenarios {
30 
40 
41  public:
42 
47 
51  virtual ~BackwardAnalysisScenario();
52 
59  virtual void run() override;
60 
61  protected:
62 
63  virtual void initialize(unordered_map<string,string>& parameters) override;
64 
69 
74 
78  boost::filesystem::path resultFolder;
79 
80  };
81 
82  } /* namespace scenarios */
83 } /* namespace uncover */
84 
85 #endif /* BACKWARDANALYSIS_H_ */
boost::filesystem::path resultFolder
Stores the folder in which the files generated by this scenario, e.g.
Definition: BackwardAnalysisScenario.h:78
analysis::BackwardAnalysis * backwardAnalysis
This BackwardAnalysis object stores all data needed for a backward search and performs the steps...
Definition: BackwardAnalysisScenario.h:68
virtual void initialize(unordered_map< string, string > &parameters) override
Initializes the scenario with the given mapping, where the keys are parameter names.
Definition: BackwardAnalysisScenario.cpp:82
virtual ~BackwardAnalysisScenario()
Destroys the current instance of this Scenario.
Definition: BackwardAnalysisScenario.cpp:78
This class performs a backward search to solve the coverability problem with respect to a given Order...
Definition: BackwardAnalysis.h:43
virtual void run() override
Performs the backward analysis.
Definition: BackwardAnalysisScenario.cpp:219
shared_ptr< BackwardResultHandler > BackwardResultHandler_sp
Alias for a shared pointer to a BackwardResultHandler.
Definition: BackwardResultHandler.h:105
This Scenario performs a backward analysis according to the provided parameters.
Definition: BackwardAnalysisScenario.h:39
BackwardAnalysisScenario()
Creates a new instance of this Scenario.
Definition: BackwardAnalysisScenario.cpp:53
analysis::BackwardResultHandler_sp resultHandler
Stores the BackwardResultHandler which processes the intermediate results of the backward search...
Definition: BackwardAnalysisScenario.h:73
A scenario is a subprogram using a set of input parameters to execute some algorithms, producing desired output.
Definition: Scenario.h:36