Skip to content

Commit

Permalink
merged Dev -> default
Browse files Browse the repository at this point in the history
  • Loading branch information
ebergamini committed Jun 23, 2016
1 parent 074daa2 commit 27ecb1f
Show file tree
Hide file tree
Showing 730 changed files with 37,300 additions and 29,602 deletions.
11 changes: 11 additions & 0 deletions .hgignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ build.conf
/_NetworKit.cpp$
src/python/NetworKit.egg-info/
NetworKit-Tests-D
lamg-2.2-2
CMG_101014
instances
bench*
.cproject
.project
.settings*
Benchmark*
plots
\.out$
\.egg$
\~$
Expand All @@ -30,6 +39,8 @@ scripts/SparsificationEvaluation/output/
scripts/SparsificationEvaluation/figures
input/backbones/
build/
Doc/Website
Doc/Documentation

syntax: regexp
^output$
Expand Down
195 changes: 133 additions & 62 deletions Doc/DevGuide.mdown

Large diffs are not rendered by default.

Binary file modified Doc/DevGuide.pdf
Binary file not shown.
117 changes: 101 additions & 16 deletions Doc/Notebooks/GephiStreaming_UserGuide.ipynb

Large diffs are not rendered by default.

117 changes: 35 additions & 82 deletions Doc/Notebooks/Link_Prediction.ipynb

Large diffs are not rendered by default.

90 changes: 29 additions & 61 deletions Doc/Notebooks/NetworKit_Tutorial_Part_1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
"/Users/cls/workspace/NetworKit\n"
"[Errno 2] No such file or directory: '/Users/Henning/workspace/NetworKit/'\n",
"/Users/Henning/Documents/workspace/NetworKit/Doc/Notebooks\n"
]
}
],
Expand All @@ -129,13 +130,25 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 5,
"metadata": {
"collapsed": false
},
"outputs": [],
"outputs": [
{
"ename": "TypeError",
"evalue": "readGraph() missing 1 required positional argument: 'fileformat'",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mTypeError\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m<ipython-input-5-43be59d72eed>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mG\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mreadGraph\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"input/PGPgiantcompo.graph\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[0;31mTypeError\u001b[0m: readGraph() missing 1 required positional argument: 'fileformat'"
]
}
],
"source": [
"G = readGraph(\"input/PGPgiantcompo.graph\", Format.METIS)"
"G = readGraph(\"input/PGPgiantcompo.graph\")"
]
},
{
Expand All @@ -153,19 +166,11 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"10680 24316\n"
]
}
],
"outputs": [],
"source": [
"n = G.numberOfNodes()\n",
"m = G.numberOfEdges()\n",
Expand All @@ -174,22 +179,11 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"b'Graph(name=PGPgiantcompo, n=10680, m=24316)'"
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"G.toString()"
]
Expand All @@ -203,20 +197,11 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]\n",
"[(42, 11), (101, 28), (111, 92), (128, 87), (141, 0), (165, 125), (169, 111), (176, 143), (187, 38), (192, 105)]\n"
]
}
],
"outputs": [],
"source": [
"V = G.nodes()\n",
"print(V[:10])\n",
Expand All @@ -233,20 +218,11 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Weight of existing edge: 1.0\n",
"Weight of nonexisting edge: 0.0\n"
]
}
],
"outputs": [],
"source": [
"edgeExists = G.hasEdge(42,11)\n",
"if edgeExists:\n",
Expand All @@ -263,19 +239,11 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Number of nodes with more than 100 neighbors: 6\n"
]
}
],
"outputs": [],
"source": [
"count = 0 # counts number of nodes with more than 100 neighbors\n",
"for v in G.nodes():\n",
Expand Down Expand Up @@ -317,7 +285,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": null,
"metadata": {
"collapsed": false
},
Expand All @@ -343,7 +311,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.3"
"version": "3.4.2"
}
},
"nbformat": 4,
Expand Down
2,796 changes: 2,588 additions & 208 deletions Doc/Notebooks/NetworKit_UserGuide.ipynb

Large diffs are not rendered by default.

342 changes: 184 additions & 158 deletions Doc/Notebooks/Profiling.ipynb

Large diffs are not rendered by default.

145 changes: 97 additions & 48 deletions Doc/Notebooks/Sparsification.ipynb

Large diffs are not rendered by default.

Binary file modified Doc/Readme.pdf
100755 → 100644
Binary file not shown.
14 changes: 7 additions & 7 deletions Doc/docs/c++/Doxyfile → Doc/doc/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ PROJECT_LOGO =
# entered, it will be relative to the location where doxygen was started. If
# left blank the current directory will be used.

OUTPUT_DIRECTORY = ../../../NetworKit-Doc/
OUTPUT_DIRECTORY = ../Website/html/api/

# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
# directories (in 2 levels) under the output directory of each output format and
Expand Down Expand Up @@ -755,8 +755,8 @@ WARN_LOGFILE =
# Note: If this tag is empty the current directory is searched.

INPUT = ../../networkit/cpp \
c++/mainpage.dox \
c++/modules.dox
mainpage.dox \
modules.dox

# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
Expand Down Expand Up @@ -1048,7 +1048,7 @@ HTML_FILE_EXTENSION = .html
# of the possible markers and block names see the documentation.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_HEADER = c++/doxystyle/doxygen_header.html
HTML_HEADER = doxystyle/doxygen_header.html

# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
# generated HTML page. If the tag is left blank doxygen will generate a standard
Expand All @@ -1058,7 +1058,7 @@ HTML_HEADER = c++/doxystyle/doxygen_header.html
# that doxygen normally uses.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_FOOTER = c++/doxystyle/doxygen_footer.html
HTML_FOOTER = doxystyle/doxygen_footer.html

# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
# sheet that is used by each HTML page. It can be used to fine-tune the look of
Expand All @@ -1070,7 +1070,7 @@ HTML_FOOTER = c++/doxystyle/doxygen_footer.html
# obsolete.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_STYLESHEET = c++/doxystyle/doxygen.css
HTML_STYLESHEET = doxystyle/doxygen.css

# The HTML_EXTRA_STYLESHEET tag can be used to specify an additional user-
# defined cascading style sheet that is included after the standard style sheets
Expand All @@ -1081,7 +1081,7 @@ HTML_STYLESHEET = c++/doxystyle/doxygen.css
# see the documentation.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_EXTRA_STYLESHEET = c++/doxystyle/doxygen-extra.css
HTML_EXTRA_STYLESHEET = doxystyle/doxygen-extra.css

# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
# other source files which should be copied to the HTML output directory. Note
Expand Down
Loading

0 comments on commit 27ecb1f

Please sign in to comment.