Skip to content
  • Leigh B. Stoller's avatar
    Add the long desired halt/swap event directives. You can now put this · 179d5086
    Leigh B. Stoller authored
      in your NS file:
    
      	$ns at 2000.0 "$ns halt" (or terminate)
      or
      	$ns at 2000.0 "$ns swapout"
    
      The first causes the experiment to terminate, the later causes it to
      swap out. The units are seconds, as are all "at" statements.
    
      NOTE: You can use halt (terminate) to cancel a batch experiment, but you
    	cannot schedule a swapout.
    179d5086
To find the state of this project's repository at the time of any of these versions, check out the tags.