diff options
author | KatolaZ <katolaz@freaknet.org> | 2017-09-27 15:06:31 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2017-09-27 15:06:31 +0100 |
commit | 3aee2fd43e3059a699af2b63c6f2395e5a55e515 (patch) | |
tree | 58c95505a0906ed9cfa694f9dbd319403fd8f01d /doc/graph_info.md |
First commit on github -- NetBunch 1.0
Diffstat (limited to 'doc/graph_info.md')
-rw-r--r-- | doc/graph_info.md | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/graph_info.md b/doc/graph_info.md new file mode 100644 index 0000000..d353a81 --- /dev/null +++ b/doc/graph_info.md @@ -0,0 +1,41 @@ +graph_info(1) -- Print basic information about a graph +====== + +## SYNOPSIS + +`graph_info` <graph_in> + +## DESCRIPTION + +`graph_info` prints the number of nodes, number of edges, average +degree, and average squared degree of <graph_in>. + + +## PARAMETERS + +* <graph_in>: + undirected input graph (edge list). If is equal to `-` (dash), read + the edge list from STDIN. + +## OUTPUT + +The program prints on STDOUT a single line in the format: + + N K avg_k avg_k2 + +where `N` is the number of nodes, `K` is the number of edges, `avg_k` +is the average degree, and `avg_k2` is the average squared degree of <graph_in>. + +## SEE ALSO + +clust(1) + +## REFERENCES + +* V\. Latora, V. Nicosia, G. Russo, "Complex Networks: Principles, + Methods and Applications", Cambridge University Press (2017) + + +## AUTHORS + +(c) Vincenzo 'KatolaZ' Nicosia 2009-2017 `<v.nicosia@qmul.ac.uk>`. |