I want to simulate ant colony optimization in WSN as well as I would like to apply an attack (Location Disclosure Attacks) on WSN. Which simulator is good for these algorithms?
I'm not sure which simulator is best. Have you considered using a programming language like Python? For example the "ACO-Pants" package implements the Ant Colony Optimization Meta-Heuristic
Christian Borgelt created a nice ACO demonstrator in java (http://www.borgelt.net/acopt.html). You could have a look and see how you could adapt it to your problem.