<< NARVAL_T_WaxmanConnex2 NARVAL NARVAL_W_GColWCDS >>

NARVAL >> NARVAL > NARVAL_W_CanalWCDS

NARVAL_W_CanalWCDS

Color a WCDS graph.

Calling Sequence

[go] = NARVAL_W_CanalWCDS(g,n,e,c,ecol)

Parameters

g :

WCDS graph.

n :

list of master nodes (nucleus).

e :

list of slave nodes (electron).

c :

list of canals (colors).

go :

output graph.

Description

NARVAL_W_CanalWCDS colors the Weakly Connected Dominating Set (WCDS) g defined by its list of master (respectivelly slave) nodes n (respectivelly e) (WIKIPEDIA).

Examples

n=200;//network size
l=1000;//network squared area side
d=100;//Locality radius
[g]=NARVAL_T_LocalityConnex(n,l,d);//generation of a topology
[go,n,e]=NARVAL_W_WCDS(g);//calculation of the WCDS of g
c=[1 2 14 7];//list of chanels
[goc]=NARVAL_W_CanalWCDS(go,n,e,c);//application of NARVAL_W_CanalWCDS
w=1;//window index
f=NARVAL_G_ShowGraph(goc,w);//graph visualization

Dependency

NARVAL_G_NodeNeighbors

Authors

Foued Melakessou

Contact

Dr. Foued Melakessou

Research Associate

Interdisciplinary Centre for Security, Reliability and Trust

Room F106

University of Luxembourg

6, rue Coudenhove Kalergi

L-1359 Luxembourg-Kirchberg

E-mail: foued.melakessou@uni.lu

Tel: (+352) 46 66 44 5346

Home Page


<< NARVAL_T_WaxmanConnex2 NARVAL NARVAL_W_GColWCDS >>