package de.sebhn.algorithm.excersise4;

/**
 * Created by philo on 26.10.2016.
 */
public class Turns {

    public static void main(String[] args) {

    }

}

@@ -37,46 +37,197 @@
 4;%0A%0A
-/**%0A * Created by philo on 26.10.2016.
+import java.util.Arrays;%0A%0A/**%0A * Solves a custom traveling sales person problem%0A * %0A * @author Phi Long Tran %3C191624%3E%0A * @author Dimitri Kapcikov %3C191510%3E%0A * @author Manuel Wessner %3C191711%3E
 %0A */
@@ -249,18 +249,16 @@
 urns %7B%0A%0A
-  
   public
@@ -296,14 +296,256 @@
 ) %7B%0A
+    Perm perm = new Perm(10);%0A    int%5B%5D next = %7B%7D;%0A    boolean hasNext = true;%0A    while (hasNext) %7B%0A      next = perm.getNext();%0A      hasNext = next != null;%0A      if (hasNext) %7B%0A        System.out.println(Arrays.toString(next));%0A      %7D
 %0A    %7D%0A
+  %7D
 %0A%7D%0A

call perm