Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
57d7c7ec
Commit
57d7c7ec
authored
Jun 26, 2018
by
Tiago Peixoto
Browse files
Remove C++ and Python signatures from boost::python docstrings
parent
d70825df
Pipeline
#427
passed with stage
in 207 minutes and 36 seconds
Changes
14
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/graph/centrality/graph_centrality_bind.cc
View file @
57d7c7ec
...
...
@@ -30,6 +30,7 @@ void export_pagerank();
BOOST_PYTHON_MODULE
(
libgraph_tool_centrality
)
{
python
::
docstring_options
dopt
(
true
,
false
);
export_betweenness
();
export_closeness
();
export_eigentrust
();
...
...
src/graph/clustering/graph_clustering.cc
View file @
57d7c7ec
...
...
@@ -58,6 +58,7 @@ void get_motifs(GraphInterface& g, size_t k, boost::python::list subgraph_list,
BOOST_PYTHON_MODULE
(
libgraph_tool_clustering
)
{
docstring_options
dopt
(
true
,
false
);
def
(
"global_clustering"
,
&
global_clustering
);
def
(
"local_clustering"
,
&
local_clustering
);
def
(
"extended_clustering"
,
&
extended_clustering
);
...
...
src/graph/correlations/graph_correlations_bind.cc
View file @
57d7c7ec
...
...
@@ -27,6 +27,7 @@ void export_avg_combined_correlations();
BOOST_PYTHON_MODULE
(
libgraph_tool_correlations
)
{
python
::
docstring_options
dopt
(
true
,
false
);
export_assortativity
();
export_vertex_correlations
();
export_combined_vertex_correlations
();
...
...
src/graph/draw/graph_cairo_draw.cc
View file @
57d7c7ec
...
...
@@ -2166,6 +2166,7 @@ void get_cts(GraphInterface& gi, GraphInterface& tgi, boost::any otpos,
BOOST_PYTHON_MODULE
(
libgraph_tool_draw
)
{
docstring_options
dopt
(
true
,
false
);
def
(
"cairo_draw"
,
&
cairo_draw
);
def
(
"put_parallel_splines"
,
&
put_parallel_splines
);
def
(
"apply_transforms"
,
&
apply_transforms
);
...
...
src/graph/flow/graph_flow_bind.cc
View file @
57d7c7ec
...
...
@@ -36,6 +36,7 @@ using namespace boost::python;
BOOST_PYTHON_MODULE
(
libgraph_tool_flow
)
{
docstring_options
dopt
(
true
,
false
);
def
(
"edmonds_karp_max_flow"
,
&
edmonds_karp_max_flow
);
def
(
"push_relabel_max_flow"
,
&
push_relabel_max_flow
);
def
(
"kolmogorov_max_flow"
,
&
kolmogorov_max_flow
);
...
...
src/graph/generation/graph_generation.cc
View file @
57d7c7ec
...
...
@@ -126,6 +126,7 @@ using namespace boost::python;
BOOST_PYTHON_MODULE
(
libgraph_tool_generation
)
{
docstring_options
dopt
(
true
,
false
);
def
(
"gen_graph"
,
&
generate_graph
);
def
(
"gen_sbm"
,
&
generate_sbm
);
def
(
"random_rewire"
,
&
random_rewire
);
...
...
src/graph/graph_bind.cc
View file @
57d7c7ec
...
...
@@ -442,7 +442,7 @@ void export_openmp();
BOOST_PYTHON_MODULE
(
libgraph_tool_core
)
{
using
namespace
boost
::
python
;
python
::
docstring_options
dopt
(
true
,
false
)
;
// numpy
do_import_array
();
...
...
src/graph/inference/graph_inference.cc
View file @
57d7c7ec
...
...
@@ -114,6 +114,7 @@ extern void export_modularity();
BOOST_PYTHON_MODULE
(
libgraph_tool_inference
)
{
using
namespace
boost
::
python
;
docstring_options
dopt
(
true
,
false
);
export_blockmodel_state
();
export_blockmodel_mcmc
();
export_blockmodel_multicanonical
();
...
...
src/graph/layout/graph_bind_layout.cc
View file @
57d7c7ec
...
...
@@ -26,6 +26,7 @@ void export_planar();
BOOST_PYTHON_MODULE
(
libgraph_tool_layout
)
{
docstring_options
dopt
(
true
,
false
);
export_arf
();
export_fruchterman_reingold
();
export_sfdp
();
...
...
src/graph/search/graph_search_bind.cc
View file @
57d7c7ec
...
...
@@ -28,6 +28,7 @@ void export_astar_implicit();
BOOST_PYTHON_MODULE
(
libgraph_tool_search
)
{
python
::
docstring_options
dopt
(
true
,
false
);
export_bfs
();
export_dfs
();
export_dijkstra
();
...
...
src/graph/spectral/graph_matrix.cc
View file @
57d7c7ec
...
...
@@ -49,6 +49,7 @@ void transition(GraphInterface& g, boost::any index, boost::any weight,
BOOST_PYTHON_MODULE
(
libgraph_tool_spectral
)
{
using
namespace
boost
::
python
;
docstring_options
dopt
(
true
,
false
);
def
(
"adjacency"
,
&
adjacency
);
def
(
"laplacian"
,
&
laplacian
);
def
(
"norm_laplacian"
,
&
norm_laplacian
);
...
...
src/graph/stats/graph_stats_bind.cc
View file @
57d7c7ec
...
...
@@ -27,6 +27,7 @@ void export_sampled_distance();
BOOST_PYTHON_MODULE
(
libgraph_tool_stats
)
{
python
::
docstring_options
dopt
(
true
,
false
);
export_parallel
();
export_histograms
();
export_average
();
...
...
src/graph/topology/graph_topology.cc
View file @
57d7c7ec
...
...
@@ -68,6 +68,7 @@ void export_vertex_similarity();
BOOST_PYTHON_MODULE
(
libgraph_tool_topology
)
{
docstring_options
dopt
(
true
,
false
);
def
(
"check_isomorphism"
,
&
check_isomorphism
);
def
(
"subgraph_isomorphism"
,
&
subgraph_isomorphism
);
def
(
"get_kruskal_spanning_tree"
,
&
get_kruskal_spanning_tree
);
...
...
src/graph/util/graph_util_bind.cc
View file @
57d7c7ec
...
...
@@ -23,5 +23,6 @@ void export_search();
BOOST_PYTHON_MODULE
(
libgraph_tool_util
)
{
python
::
docstring_options
dopt
(
true
,
false
);
export_search
();
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment