Revision 316:4c8a4a3144e2

View differences:

src/main/java/tt/jointeuclid2ni/probleminstance/TrajectoryCoordinationProblemXMLDeserializer.java
102 102
        Point[] starts = agents.starts.toArray(new Point[agents.size]);
103 103
        Point[] targets = agents.targets.toArray(new Point[agents.size]);
104 104
        int[] radiuses = ArrayUtils.toPrimitive(agents.radiuses.toArray(new Integer[agents.size]));
105
        int[] maxSpeeds = ArrayUtils.toPrimitive(agents.maxSpeeds.toArray(new Integer[agents.size]));
105
        float[] maxSpeeds = ArrayUtils.toPrimitive(agents.maxSpeeds.toArray(new Float[agents.size]));
106 106

  
107 107
        return new TrajectoryCoordinationProblemImpl(environment, starts, targets, radiuses, maxSpeeds, graph, docks, tasks);
108 108
    }

Also available in: Unified diff