UnCoVer (Using Coverability for Verification)
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
GXLtoPicConverter.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 HG_CONVERTOR_H
21 #define HG_CONVERTOR_H
22 
23 #include "../basic_types/Scenario.h"
24 #include "../io/GraphDrawer.h"
25 
26 namespace uncover {
27  namespace scenarios {
28 
36  {
37 
38  public:
39 
44 
49 
54  virtual void run() override;
55 
56  protected:
57 
58  virtual void initialize(unordered_map<string,string>& parameters) override;
59 
63  string filename;
64 
69 
73  bool compact;
74 
75  };
76 
77  }
78 }
79 
80 #endif
PictureFormat
This enumeration specifies all supported picture formats.
Definition: GraphDrawer.h:44
~GXLtoPicConverter()
Destroys this instance of GXLConverter.
Definition: GXLtoPicConverter.cpp:54
This Scenario takes a GXL file and converts the encoded Hypergraphs first to a 'dot' file and then to...
Definition: GXLtoPicConverter.h:35
io::GraphDrawer::PictureFormat exportFormat
Stores the format in which the loaded graphs will be ultimately converted.
Definition: GXLtoPicConverter.h:68
virtual void run() override
Runs this Scenario, first generating a 'dot' file for each input graph and then converting each to th...
Definition: GXLtoPicConverter.cpp:80
virtual void initialize(unordered_map< string, string > &parameters) override
Initializes the scenario with the given mapping, where the keys are parameter names.
Definition: GXLtoPicConverter.cpp:56
GXLtoPicConverter()
Generates a new instance of GXLConverter.
Definition: GXLtoPicConverter.cpp:38
A scenario is a subprogram using a set of input parameters to execute some algorithms, producing desired output.
Definition: Scenario.h:36
bool compact
If set to true, only one file containing all graphs will be generated, instead of one file per graph...
Definition: GXLtoPicConverter.h:73
string filename
Stores the filename of the given GXL file (without extension).
Definition: GXLtoPicConverter.h:63