# NOT RUN {
# using default decay arguments____________________________________________________________
# input of dimension 15 projected maximum in dimension 15
decay(15)
# input of dimension 15 projected maximum in dimension 8
decay(15, 8)
# playing with decay arguments_____________________________________________________________
# input of dimension 15 projected maximum in dimension 15
decay(15)
# using a larger value of tao0
decay(15, tao0 = .3)
# using a larger value of tao0, keeping it fixed up to higher dimensions
decay(15, tao0 = .3, delta = 5)
# using a larger value of tao0, keeping it fixed up to higher dimensions, with slower decay
decay(15, tao0 = .3, delta = 5, dispr = 5.2)
# requesting pheromone values______________________________________________________________
# input of dimension 15 projected maximum in dimension 15
decay(15, deliver = TRUE)
# }
Run the code above in your browser using DataLab