hello,
I want to know how many events the simulator can
execute at the same time?
In my simulation  created 100 nodes, which sending
messages to one sink, at the same time like that:
 
          
for {set i 1} {$i < 100} {incr i} 
{
   set udp_($i) [new Agent/UDP]
   $ns_ attach-agent $node_($i) 
    $udp_($i)

set cbr_($i) [new Application/Traffic/CBR]
$cbr_($i) set packetSize_ 512
$cbr_($i) set interval_ 10.0
        
$cbr_($i) set random_ 1
$cbr_($i) attach-agent $udp_($i)
$ns_ connect $udp_($i) $null_(0)
$ns_ at 1.00 "$cbr_($i) start"

But I have this message: couldn't schedule timer
 And the simulation is blocked

Although I put: $ns_ use-scheduler Heap;
I also changed the SMAC_MAX_NUM_SCHEDULES to 10
Please help



        

        
                
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet 
! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos 
expériences. 
http://fr.answers.yahoo.com 

Reply via email to