How convert the Traveling Salesperson JS to Object-oriented Programming style Java Processing

Hi Chrisir,
Thanks for your kindly reply. I know there are problem here in framing this question. I am quite a newbie and don’t really know the exact question is. But basically my code results in a static image.

The functions doesn’t seem to generate new order objects to mark the cities. In the example provided by Dantiel CC_035_4_TSP_GA, the functions constantly provide orders in comparision.

what kind of mistake do I make here that the code does not work in that way?

1 Like