for example my initial input tasks set {1,2,3,4,5} then i want to create three different orders like Chromosome 1=[1,3,5,4,2] Chromosome =[1,5,4,2,3] and Chromosome 3=[5,2,3,4,1 ]these are three different orders of tasks i want to sort out all tasks randomly to produce three different orders the different orders of tasks correspond to different gene or task is there any example for this problem in java or any language
genetic-algorithms