Otawa  0.10
Edge.h
Go to the documentation of this file.
1 /*
2  * CCGEdge class interface
3  *
4  * This file is part of OTAWA
5  * Copyright (c) 2006, IRIT UPS.
6  *
7  * OTAWA is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * OTAWA is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with OTAWA; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 #ifndef OTAWA_CCG_CCGEDGE_H
22 #define OTAWA_CCG_CCGEDGE_H
23 
24 #include <otawa/ilp/Var.h>
25 #include <otawa/util/GenGraph.h>
26 
27 namespace otawa { namespace ccg {
28 
29 // Classes
30 class Node;
31 class Var;
32 
33 // Edge class
34 class Edge: public GenGraph<Node, Edge>::GenEdge, public PropList {
35 public:
37  ~Edge(void);
38 };
39 
40 
41 } } // otawa::ccg
42 
43 #endif // OTAWA_CCG_CCG_CCGEDGE_H
Definition: GenGraph.h:38
N * source(void) const
Definition: GenGraph.h:67
This class represents edges in the CCG representation.
Definition: Edge.h:34
Edge(Node *source, Node *target)
Build a new CCG edge.
Definition: ccg_Edge.cpp:41
~Edge(void)
Delete an edge.
Definition: ccg_Edge.cpp:49
This a list of properties.
Definition: PropList.h:63
N * target(void) const
Definition: GenGraph.h:68
Node of a CCG (Cache Conflict Graph).
Definition: Node.h:31