Revision 221:fdf24b7a37b5

View differences:

src/main/java/tt/jointeuclid2ni/probleminstance/generator/ConflictGenerator.java
9 9
import java.util.Random;
10 10
import java.util.Set;
11 11

  
12
import javax.print.attribute.standard.MediaSize.Other;
13

  
14 12
import org.jgrapht.DirectedGraph;
15 13
import org.jgrapht.GraphPath;
16 14
import org.jgrapht.Graphs;
17 15
import org.jgrapht.alg.AStarShortestPathSimple;
18
import org.jgrapht.alg.ConnectivityInspector;
19 16

  
20 17
import tt.euclid2i.HeuristicToPoint;
21 18
import tt.euclid2i.Line;
22 19
import tt.euclid2i.Point;
23 20
import tt.euclid2i.Region;
24 21
import tt.euclid2i.Trajectory;
25
import tt.euclid2i.Union;
26 22
import tt.euclid2i.discretization.ObstacleWrapper;
27 23
import tt.euclid2i.probleminstance.Environment;
28 24
import tt.euclid2i.region.Circle;
......
30 26
import tt.euclid2i.trajectory.SegmentedTrajectoryFactory;
31 27
import tt.euclid2i.util.SeparationDetector;
32 28
import tt.euclid2i.util.Util;
33
import tt.euclidtime3i.region.MovingCircle;
34 29
import tt.jointeuclid2ni.probleminstance.AgentMission;
35 30
import tt.jointeuclid2ni.probleminstance.AgentMissionImpl;
36 31
import tt.jointeuclid2ni.probleminstance.EarliestArrivalProblem;
37 32
import tt.jointeuclid2ni.probleminstance.generator.exception.MissionNotAddedException;
38
import tt.jointeuclid2ni.probleminstance.generator.exception.PathNotFoundException;
39 33
import tt.jointeuclid2ni.probleminstance.generator.exception.ProblemNotCreatedException;
40 34
import tt.jointtraj.util.Discretization;
41 35
import tt.util.Verbose;
......
48 42
    private static final int MAX_ATTEMPTS_MISSION = 150;
49 43
    private static final int MAX_ATTEMPTS_START = 500;
50 44
    private static final int MAX_ATTEMPTS_TARGET = 500;
51
    private static final float RADIUS_BUFFER_GRACE_COEF = 1.2f; 
45
    private static final float RADIUS_BUFFER_GRACE_COEF = 1.3f; 
52 46

  
53 47
    private static DirectedGraph<Point, Line>[] toGraphArray(DirectedGraph<Point, Line> planningGraph, int nAgents) {
54 48

  

Also available in: Unified diff