UnCoVer (Using Coverability for Verification)
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
rule_preparation_helper.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 RULE_PREPARATION_HELPER_H_
21 #define RULE_PREPARATION_HELPER_H_
22 
23 #include "../basic_types/globals.h"
24 #include "../graphs/UQRuleInstance.h"
25 #include "../graphs/Rule.h"
26 
27 namespace uncover {
28  namespace analysis {
29 
40  graphs::Rule_sp createRuleFrom(graphs::Rule const& oldRule,
41  string name,
42  graphs::AnonHypergraph_sp leftGraph,
43  graphs::AnonHypergraph_sp rightGraph,
44  graphs::Mapping const& mapping);
45 
56  graphs::UQRuleInstance_sp createRuleFrom(graphs::UQRuleInstance const& oldRule,
57  string name,
58  graphs::AnonHypergraph_sp leftGraph,
59  graphs::AnonHypergraph_sp rightGraph,
60  graphs::Mapping const& mapping);
61 
62  }
63 }
64 
65 
66 
67 #endif /* RULE_PREPARATION_HELPER_H_ */
shared_ptr< AnonHypergraph > AnonHypergraph_sp
Alias of a shared pointer to an AnonHypergraph.
Definition: AnonHypergraph.h:415
Rule_sp createRuleFrom(Rule const &oldRule, string name, AnonHypergraph_sp leftGraph, AnonHypergraph_sp rightGraph, Mapping const &mapping)
Creates a new shared Rule using the given name, left side, right side and mapping.
Definition: rule_preparation_helper.cpp:27
shared_ptr< Rule > Rule_sp
Alias for a shared pointer to a Rule.
Definition: Rule.h:105
shared_ptr< UQRuleInstance > UQRuleInstance_sp
Alias of a shared pointer to a UQRuleIstance.
Definition: UQRuleInstance.h:139