graph_correlations_bind.cc 1.22 KB
Newer Older
1 2
// graph-tool -- a general graph modification and manipulation thingy
//
Tiago Peixoto's avatar
Tiago Peixoto committed
3
// Copyright (C) 2007-2012 Tiago de Paula Peixoto <tiago@skewed.de>
4 5 6
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
Tiago Peixoto's avatar
Tiago Peixoto committed
7
// as published by the Free Software Foundation; either version 3
8 9 10 11 12 13 14 15
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
16 17
// along with this program. If not, see <http://www.gnu.org/licenses/>.

18
#include <boost/python.hpp>
19 20 21

using namespace boost;

22 23 24
void export_assortativity();
void export_vertex_correlations();
void export_combined_vertex_correlations();
25 26
void export_avg_correlations();
void export_avg_combined_correlations();
27 28

BOOST_PYTHON_MODULE(libgraph_tool_correlations)
29
{
30 31 32
    export_assortativity();
    export_vertex_correlations();
    export_combined_vertex_correlations();
33 34
    export_avg_correlations();
    export_avg_combined_correlations();
35
}