1 | /************************************************************************************ |
---|
2 | * Copyright (C) 2008 by Politehnica University of Bucharest and Rutgers University |
---|
3 | * All rights reserved. |
---|
4 | * Refer to LICENSE for terms and conditions of use. |
---|
5 | ***********************************************************************************/ |
---|
6 | package vnsim.vehicular.routePlan; |
---|
7 | |
---|
8 | import java.util.ArrayList; |
---|
9 | |
---|
10 | import vnsim.vehicular.routePlan.cityRouting.RoadSegmentCost; |
---|
11 | import vnsim.vehicular.routePlan.infrastructureRouted.DelayRecord; |
---|
12 | |
---|
13 | public class RoutingConstants { |
---|
14 | |
---|
15 | public static ArrayList<DelayRecord> delays1 = new ArrayList<DelayRecord>(); |
---|
16 | public int PERCENT_DYNAMIC_ROUTE = 80; |
---|
17 | public int percentBestRoute = 80; |
---|
18 | public final byte ROAD_PLANNING_PROT = 6; |
---|
19 | public java.lang.String fisOutCar = "log80Best.txt"; |
---|
20 | public static final int INITIALLY_PROVIDED_ROUTE = 0; |
---|
21 | public java.lang.String inFile = "traces.dat"; |
---|
22 | public double increasePerLane = 1; |
---|
23 | public int HOW_MORE_TO_REMOVE = 4; |
---|
24 | public int HOW_FAR_AHEAD = 1; |
---|
25 | public static final int DYNAMIC_SELF_ROUTE = 1; |
---|
26 | public static final int DYNAMIC_INFRASTRUCTURE_ROUTE = 2; |
---|
27 | public static final int DYNAMIC_CITY_ROUTE = 3; |
---|
28 | |
---|
29 | /** routing algorithm selection values */ |
---|
30 | public static final int ROUTING_SCFT = 4; |
---|
31 | |
---|
32 | public ArrayList<DelayRecord> delays = new ArrayList<DelayRecord>(); |
---|
33 | public ArrayList<RoadSegmentCost> segmentsCost = new ArrayList<RoadSegmentCost>(); |
---|
34 | |
---|
35 | // public static double increasePerLane =1; |
---|
36 | // |
---|
37 | // public static int percentBestRoute=80; |
---|
38 | // public static int HOW_FAR_AHEAD=1; |
---|
39 | // public static int HOW_MORE_TO_REMOVE=4; |
---|
40 | // public static int PERCENT_DYNAMIC_ROUTE=80; |
---|
41 | // public static String fisOutCar ="logIfrRouted.txt"; |
---|
42 | // public static final int INITIALLY_PROVIDED_ROUTE=0; |
---|
43 | // public static final int DYNAMIC_SELF_ROUTE=1; |
---|
44 | // public static final int DYNAMIC_INFRASTRUCTURE_ROUTE=2; |
---|
45 | |
---|
46 | } |
---|