<< NL_G_NodeNumber NL_G: Graph NL_G_Nodes2Edge >>

NARVAL >> NL_G: Graph > NL_G_NodeStructure

NL_G_NodeStructure

Initialize a node structure.

Calling Sequence

[N] = NL_G_NodeStructure()

Arguments

N :

Node structure.

Description

NL_G_NodeStructure initializes the node structure N, defined by its x-coordinate N.x, its y-coordinate N.y, its communication range N.cr, its speed N.v, its neighbors N.neigh, its destination coordinates [N.destx N.desty] and its energy N.en.

Examples

[N]=NL_G_NodeStructure()//application of NL_G_NodeStructure

Report an issue
<< NL_G_NodeNumber NL_G: Graph NL_G_Nodes2Edge >>