Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : Network Topology Generator details
Please login or create an account

Network Topology Generator

This module is dedicated to network topologies analysis.
(3927 downloads for this version - 10169 downloads for all versions)
A more recent valid version exists: 3.0.1
Foued Melakessou
Owner Organization
SnT/University of Luxembourg
Foued Melakessou
Creation Date
March 19, 2010
Source created on
Scilab 5.2.x
Binaries available on
Scilab 5.2.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit MacOSX
Install command
--> atomsInstall("NTG")
            This module is dedicated to network topology analysis for academic and research

It has been designed at the University of Luxembourg withing the
Interdisciplinary Centre for Security, Reliability and Trust (Snt).
The Centre carries out interdisciplinary research and graduate education in
secure, reliable, and trustworthy ICT systems and services  
This work was carried out as a part of the European Project EFIPSANS
This module is an enhanced version of the toolbox NTG2.0 that run on Scilab
NTG3.0 is running on Scilab 5.2.1 (or >=). 
New functionalities have been added in order to enrich the capabilities of the

NTG3.0 permits to generate random topologies in order to study the impact of
routing algorithms on the effectiveness of transmission protocols used by data
Random scenario closed to the actual Internet can be simulated.
First random topologies can be generated in respect with the latest accurate
models known as Barabasi-Albert, Locality, Waxman, and Hierarchic M-Level

Thereafter many path algorithms have been implemented in order to calculate
routes between network nodes as Bellman-Ford, Dijkstra, Flood, BFS, DFS, Prim,
and Floyd-Warshall. Moreover basic statistics as Node Degree Distribution, Joint
Degree Distribution and Congestion map can also be calculated directly on the
generated graphs.    

Mobility of nodes has also been included in this release (Random Way Point model
on free space and movement constraints as roads in Vehicular Network).
The mains goal relies on the analysis of the global connectivity of Mobile Ad
hoc Networks (MANETs).
In fact the topology of a MANET is in a constant change due to the mobility of
New functions permit to measure the impact of Ah doc network protocols on the
effectiveness of connections between mobile nodes.
Recent works suggest for example to use multiple paths algorithms in order to
improve the data traffic behavior.   
In fact route diversity aims to avoid local congestion phenomenons and reduce
the traffic variability.

New functions permits also to study the efficiency of a topology discovery
according to different research approaches.
The main goal is to build a topology map from a discovery process starting from
single or multiple sources.            
Files (2)
[795.11 kB]
Source code archive
NTG sources 
[1.12 MB]
OS-independent binary for Scilab 5.2.x
Binary version
Automatically generated by the atoms compilation chain

News (0)
Comments (4)     Leave a comment 
Comment from Michael Baudin -- September 17, 2010, 03:35:38 PM    
The help pages are very nice and rather detailed.

The example of the Ntg function does not work :

 !--error 4 
Undefined variable: win

at line       4 of function show_graph called by :  

Best regards,

Michaël Baudin
Answer from Ssss Rrrr -- December 23, 2010, 01:06:42 AM    
I've tried doing the examples provided in the ntg help page in Scilab and got precisely
the same problem (error)

Testing environment:
Scilab 5.2
Scilab 5.3
Windows XP x32
Windows XP x64
2 completely different PC's

I am going to test this on Linux also.
I hope someone will read this and will fix this rather serious bug.
Comment from Foued Melakessou -- September 22, 2010, 10:53:47 AM    
Dear Michaël,

Could you please give me more information about your environment?

I just executed the Ntg example that correctly works on my computer under Ubuntu 10.4 

Best regards,

Comment from Michael Baudin -- November 29, 2010, 05:12:51 PM    

I ran this:

a=[0.3 0.3 0.3 0.3];//first parameter of the Waxman model for each network layer
b=[0.9 0.7 0.5 0.3];//second parameter of the Waxman model for each network layer
nl=[30 50 50 100];//quantity of nodes per network layer
l=[1000 150 100 40];//squared area side per network layer
n=[3 5 3 3];//maximal quantity of nodes per subnetwork for each layer
s=4;//quantity of network layers
db=20;//original diameter of nodes
dd=5;//diameter difference between successive network layers
cv=[2 5 6 1];//color of each network layer
[g,d,nl]=Ntg(a,b,nl,l,n,s,db,dd,cv);//application of Ntg

The failure is caused by the fact that the body of show_graph is empty in the metanet 
module :

Best regards,

Michaël Baudin

Comment from Lab Fs -- June 29, 2011, 07:55:14 PM    
Hi All

I am getting the below error while trying to install this module..
I am using Scilab ver 5.3.1 on Windows XP. Any help on this please..

 !--error 10000 
atomsGetVersions: Wrong value for input argument #1: Must be a atoms package name.
at line      62 of function atomsGetVersions called by :  
at line      96 of function atomsDepTreeFlat called by :  
at line      84 of function atomsInstallList called by :  
at line     227 of function atomsInstall called by :  

Leave a comment
You must register and log in before leaving a comment.
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.