| Revision 41686e,
1.1 KB
checked in by Tiago de Paula Peixoto <tiago@…>, 4 years ago
(diff) |
|
Move random_rewire() to 'generation' module
|
-
Property mode set to
100644
|
| Line | |
|---|
| 1 | // graph-tool -- a general graph modification and manipulation thingy |
|---|
| 2 | // |
|---|
| 3 | // Copyright (C) 2007 Tiago de Paula Peixoto <tiago@forked.de> |
|---|
| 4 | // |
|---|
| 5 | // This program is free software; you can redistribute it and/or |
|---|
| 6 | // modify it under the terms of the GNU General Public License |
|---|
| 7 | // as published by the Free Software Foundation; either version 3 |
|---|
| 8 | // of the License, or (at your option) any later version. |
|---|
| 9 | // |
|---|
| 10 | // This program is distributed in the hope that it will be useful, |
|---|
| 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | // GNU General Public License for more details. |
|---|
| 14 | // |
|---|
| 15 | // You should have received a copy of the GNU General Public License |
|---|
| 16 | // along with this program. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 17 | |
|---|
| 18 | #include <boost/python.hpp> |
|---|
| 19 | #include "graph.hh" |
|---|
| 20 | |
|---|
| 21 | using namespace boost; |
|---|
| 22 | using namespace boost::python; |
|---|
| 23 | using namespace graph_tool; |
|---|
| 24 | |
|---|
| 25 | bool check_isomorphism(GraphInterface& gi1, GraphInterface& gi2, |
|---|
| 26 | boost::any iso_map); |
|---|
| 27 | |
|---|
| 28 | BOOST_PYTHON_MODULE(libgraph_tool_misc) |
|---|
| 29 | { |
|---|
| 30 | def("check_isomorphism", &check_isomorphism); |
|---|
| 31 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.