Ant colony algorithm

Hello… I would like to know about how the ants are moving and how they are choose the nearest node?

I really recommend doing some research first. What does your research tell you so far? What do you think your options are? Have you created any example programs to test stuff out?

Yes… I have make some research before. Did your ant colony simulation is based on behaviour of ants in nature?

Sure, it’s loosely based on ants in nature. But really I think you should take a step back and think about exactly what your goal is. You seem to be looking for very specific information, but you really can’t get to that stage until you define exactly what your goal is. Then write some code and post an MCVE if you get stuck, and we’ll go from there.