main page
namespaces
classes
files
GGL home
Generated on Wed Apr 29 2015 11:51:40 for GGL-4.1.2 by
doxygen
1.8.3.1
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
src
ggl
Graph_Storage.hh
Go to the documentation of this file.
1
#ifndef GGL_GRAPH_STORAGE_HH_
2
#define GGL_GRAPH_STORAGE_HH_
3
4
#include <boost/graph/filtered_graph.hpp>
5
#include <boost/graph/connected_components.hpp>
6
7
#include "
ggl/Graph.hh
"
8
9
namespace
ggl {
10
11
12
13
/*! @brief Interface graph storage
14
*
15
* An abstract interface for a Graph object container for multiple
16
* implementations. For instance, it is used by ggl::MR_ApplyRule to store the
17
* graphs resulting from graph grammar ggl::Rule applications.
18
*
19
* @author Martin Mann (c) 2008 http://www.bioinf.uni-freiburg.de/~mmann/
20
*/
21
class
Graph_Storage
{
22
23
public
:
24
25
virtual
~Graph_Storage
()
26
{}
27
28
//! Adds a given graph to the storage.
29
//! NOTE : The reported graphs might contain several independent
30
//! components! The Graph_Storage has to handle a separation if
31
//! neccessary!
32
//! @param graph the Graph object to add.
33
virtual
34
void
35
add
(
const
Graph
& graph ) = 0;
36
};
37
38
}
// namespace ggl
39
40
41
#endif
/*GGL_GRAPH_STORAGE_HH_*/