Hi 
I am using netlogo for disaster relief distribution. I am new user in 
netlogo. My question is :
how to deactivate a single link for a specific time period and for a 
specific condition. For example I want that the districtwarehouse should 
stop supply relief when it has lessthan 20 items and again after 5 days 
when it will have the amount . Then the link will activated automatically. 
So for 5 ticks I want that link to be deactivated.

to districtwarehousew-stop-supplies-onlocaldc
 ask districtwarehouse 8
 [if reliefgoods < 20 
 
   [set supply-link 8 7 closed? true]]
end

It select true and says expected command.
Please guide me what to do.

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to