IMP
2.2.1
The Integrative Modeling Platform
|
Various general useful macros for IMP. More...
#include <IMP/base/base_config.h>
#include <boost/graph/adjacency_list.hpp>
#include "file.h"
#include "internal/graph_utility.h"
#include <boost/unordered_map.hpp>
#include <boost/version.hpp>
Go to the source code of this file.
Macros | |
#define | IMP_GRAPH(Name, directionality, VertexData, EdgeData, ShowVertex) |
Define a graph object in IMP . More... | |
#define | IMP_WEIGHTED_GRAPH(Name, directionality, VertexData, ShowVertex) |
Define a graph object in IMP . More... | |
Copyright 2007-2014 IMP Inventors. All rights reserved.
Definition in file base/graph_macros.h.
#define IMP_GRAPH | ( | Name, | |
directionality, | |||
VertexData, | |||
EdgeData, | |||
ShowVertex | |||
) |
The docs for the graph should appear before the macro invocation. Directionality should be one of
bidirectional
directed
undirected
ShowVertex should take the VertexData as a variable named vertex
and write to a stream out
.
Definition at line 29 of file base/graph_macros.h.
#define IMP_WEIGHTED_GRAPH | ( | Name, | |
directionality, | |||
VertexData, | |||
ShowVertex | |||
) |
See IMP_GRAPH() for more info. Edges have a floating point weight.
Definition at line 102 of file base/graph_macros.h.