diff options
| author | JGab <jean.gabriel.young@gmail.com> | 2015-05-10 14:55:43 -0400 |
|---|---|---|
| committer | JGab <jean.gabriel.young@gmail.com> | 2015-05-10 14:55:43 -0400 |
| commit | ba7c5079701639d98a8032c4eaa4edf9138099c6 (patch) | |
| tree | fe452ae03f0fa07ec11fd520ea200b2e6bcbbd62 | |
| parent | f72354e87998d0ad121df1c76bf8568175d1f20e (diff) | |
| download | networkx-ba7c5079701639d98a8032c4eaa4edf9138099c6.tar.gz | |
Document approximation
| -rw-r--r-- | networkx/algorithms/__init__.py | 2 | ||||
| -rw-r--r-- | networkx/algorithms/approximation/__init__.py | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/networkx/algorithms/__init__.py b/networkx/algorithms/__init__.py index 43430f58..f7183abb 100644 --- a/networkx/algorithms/__init__.py +++ b/networkx/algorithms/__init__.py @@ -1,4 +1,3 @@ -from networkx.algorithms.approximation import * from networkx.algorithms.assortativity import * from networkx.algorithms.block import * from networkx.algorithms.boundary import * @@ -37,7 +36,6 @@ from networkx.algorithms.swap import * from networkx.algorithms.graphical import * from networkx.algorithms.simple_paths import * -import networkx.algorithms.approximation import networkx.algorithms.assortativity import networkx.algorithms.bipartite import networkx.algorithms.centrality diff --git a/networkx/algorithms/approximation/__init__.py b/networkx/algorithms/approximation/__init__.py index 3eadebbe..f59dd911 100644 --- a/networkx/algorithms/approximation/__init__.py +++ b/networkx/algorithms/approximation/__init__.py @@ -1,3 +1,8 @@ +''' + .. warning:: The approximation submodule is not imported automatically with networkx. + + Approximate algorithms can be imported with ``from networkx.algorithms import approximation``. +''' from networkx.algorithms.approximation.clustering_coefficient import * from networkx.algorithms.approximation.clique import * from networkx.algorithms.approximation.connectivity import * |
