Revision 321:c1a1099f4e42

View differences:

misc/eclipse/GenerateRTInstance.launch
8 8
</listAttribute>
9 9
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.m2e.launchconfig.classpathProvider"/>
10 10
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="tt.jointeuclid2ni.probleminstance.generator.GenerateRTInstance"/>
11
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-env map/d-environments/ubremen-r27-docks.xml -nagents 10 -ngoals 2 -radius 25 -seed 3 -maxspeed 0.05 -showvis -verbose -outfile map/temp/temp.xml"/>
11
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-env map/d-environments/ubremen-r27-docks.xml -nagents 38 -ngoals 2 -radius 25 -seed 3 -maxspeed 0.05 -showvis -verbose -outfile map/temp/temp.xml"/>
12 12
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="deconflictiontools"/>
13 13
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.m2e.launchconfig.sourcepathProvider"/>
14 14
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:deconflictiontools}"/>
src/main/java/tt/jointeuclid2ni/probleminstance/generator/GenerateRTInstance.java
11 11
import java.util.List;
12 12
import java.util.Random;
13 13

  
14
import org.apache.log4j.Logger;
14 15
import org.jgrapht.DirectedGraph;
15 16

  
16 17
import cz.agents.alite.communication.acquaintance.Plan;
......
32 33
import tt.util.Verbose;
33 34

  
34 35
public class GenerateRTInstance {
36
	
37
	private static Logger LOGGER = Logger.getLogger(GenerateRTInstance.class);
35 38

  
36 39
	private static final int FIRSTTASK = 5000;
37 40

  
......
56 59

  
57 60
		float[] maxSpeeds = new float[nAgents];
58 61
		Arrays.fill(maxSpeeds, maxSpeed);
62
		
63
		LOGGER.info("There is " + midPoints.size() + " endpoints distinct from start positions of robots.");
59 64

  
60 65
		TrajectoryCoordinationProblem outInstance 
61 66
			= new TrajectoryCoordinationProblemImpl(inInstance.getEnvironment(), starts, bodyRadiuses, maxSpeeds, inInstance.getPlanningGraph(), midPoints.toArray(new Point[0]));
src/main/java/tt/jointeuclid2ni/solver/Parameters.java
1 1
package tt.jointeuclid2ni.solver;
2 2

  
3 3
import java.io.File;
4
import java.util.Random;
4 5

  
5 6
import tt.euclid2i.discretization.LazyGrid;
6 7
import tt.jointeuclid2ni.probleminstance.EarliestArrivalProblem;
......
36 37
	public int samplingInterval;
37 38
	public double simSpeed;
38 39
	public int nTasks;
40
	public Random random;
39 41
}

Also available in: Unified diff