[ns] Executing TCL Commands in Time Sequence

2013-12-01 Thread Osama Rehman

Hello everyone,

I am trying to create a simulation scenario in which I want the TCL command
executed at "time T" to be dependent on the output of "time T - 1". e.g.

$ns_ at 27 src_node;# This calls *src_node *procedure that computes the
"SRC" variable.
$ns_ at 28 "$app($SRC) start_transmit";   # This calls *start_transmit
*procedure
in *app *agent while using the SRC value computed from src_node procedure.

The problem is that the first line is getting executed but returning the
value after the execution of the second line.

In my original program, I need to keep the time difference between the
execution of both lines very small, such 0.1 second.

I hope anyone has a suggestion to overcome this issue, with thanks.

Regards,
Osama Rehman


[ns] CFP: Bio-Inspired Mechanisms in Wireless Sensor Networks - IJDSN (IF:0.727)

2013-12-01 Thread Jaime Lloret Mauri


CFP: Bio-Inspired Mechanisms in Wireless Sensor Networks - IJDSN (IF:0.727)

Special Issue on Bio-Inspired Mechanisms in Wireless Sensor Networks

International Journal of Distributed Sensor Networks
ISI Thomson Impact Factor (2011): 0.727

Call for Papers

Wireless sensor networks (WSNs) are gaining significant interest from academia 
and industry. Multihop wireless networks are self-organizing, self-healing with 
cost-effective deployment and maintenance; yet a lot needs to be done in terms 
of efficient and robust solutions. This special issue is dedicated to consider 
the technical and theoretical applications and challenges of bio-inspired 
networking and communication in WSN. Potential topics include, but are not 
limited to: Adaptive security mechanismsScalable network 
architectureSelf-organizing systemsSelf-healing mechanismsEvolutionary 
algorithmsAnt colonization, swarm intelligence techniquesArtificial neural 
networks Artificial immune methodologies

Before submission authors should carefully read over the journal’s Author 
Guidelines, which are located at 
http://www.hindawi.com/journals/ijdsn/guideline/. Prospective authors should 
submit an electronic copy of their complete manuscript through the journal 
Manuscript Tracking System at http://mts.hindawi.com/submit/journals/ijdsn/bim/ 
according to the following timetable: 


Manuscript Due: Friday, 17 January 2014
First Round of Reviews: Friday, 11 April 2014
Publication Date: Friday, 6 June 2014

Lead Guest Editor
S. Khan, IIT, Kohat University of Science and Technology (KUST), Khyber 
Pakhtunkhwa, Pakistan 

Guest Editors
Jaime Lloret, Integrated Management Coastal Research Institute, Polytechnic 
University of Valencia, Valencia, Spain 
Elsa Macias-López, Department of Telematics Engineering, Las Palmas de Gran 
Canaria University, Spain 



[ns] inquiry about agent -> app comm if they are on same node

2013-12-01 Thread Syed Mohammad Irteza

Dear Users,

I was interested in knowing how I can invoke an application's functions,
from an agent which is not directly associated with that application, but
simply happens to coexist on the same node.

I was able to see that from the agent layer, I can navigate to another
agent on the same node, by way of the node_ object, and then the node_'s
collection of agents_, from which one can grasp a particular agent by using
its known port number (to which we attached the agent to). Obviously all of
this can be done from the OTcl layer, I was not able to do it from the C++
layer.

But I don't know how to get to the application layer, from an
non-associated agent.

Thanks & Regards,
IRTEZA
phd student - lums