Skip to content
Matheus C. Santos edited this page Dec 3, 2013 · 3 revisions

RNet is a command line program. It accepts parameters as program arguments and display output in standard output and secondary output. The standard output displays the edge list of the generated network, while the secondary output displays messages and charts. Therefore, it is recommended the use of output redirection.

Parameters

Command line usage is as follows:

rnet -n [# of nodes] <-v> ...

BASIC PARAMETERS

-n --numnodes # - Number of nodes/vertices in the network.

-m --commlink # - Probability of a node to be connected to a node inside its community.

-r --randomlink # - Probability of a node to be connected to a random link node.

-A --commassign - Output to a specified file the community assignedto each node.

-v --verbose - Verbose output.

DISTRIBUTIONS PARAMETERS

Distribution name followed by a comma and its parameters also separated by commas. Ex.: -o normal,100,5.8

    ______________________________________________________________________
   |Available Distributions | Distribution Parameters                     |
   |----------------------------------------------------------------------|
   |powerlaw                | power constant(float), maximum value(float) |
   |normal                  | mean(integer), standard deviation(float)    |
   |________________________|_____________________________________________|

-o --outdist # - Outdegree distribution and arguments.

-i --indist # - Indegree distribution and arguments.

-c --comdist # - Community size distribution and arguments.

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

Project website: www.github.org/notyetavailablebutsoonthough

Output

The screenshot below is a example of successful execution of RNet with the standard output redirected to file.

rnet1000-el.txt is an example of what is generated in the standard output.

Clone this wiki locally