1
- using System ;
2
- using System . Collections . Generic ;
3
- using System . Linq ;
4
- using System . Text ;
5
-
6
- namespace TrafficManager . State . ConfigData {
7
- public class AdvancedVehicleAI {
8
- /// <summary>
9
- /// Junction randomization for randomized lane selection
10
- /// </summary>
11
- public uint LaneRandomizationJunctionSel = 3 ;
12
-
13
- /// <summary>
14
- /// Cost factor for lane randomization
15
- /// </summary>
16
- public float LaneRandomizationCostFactor = 1f ;
17
-
18
- /// <summary>
19
- /// minimum base lane changing cost
20
- /// </summary>
21
- public float LaneChangingBaseMinCost = 1.1f ;
22
-
23
- /// <summary>
24
- /// maximum base lane changing cost
25
- /// </summary>
26
- public float LaneChangingBaseMaxCost = 1.5f ;
27
-
28
- /// <summary>
29
- /// base cost for changing lanes in front of junctions
30
- /// </summary>
31
- public float LaneChangingJunctionBaseCost = 2f ;
32
-
33
- /// <summary>
34
- /// base cost for traversing junctions
35
- /// </summary>
36
- public float JunctionBaseCost = 0.1f ;
37
-
38
- /// <summary>
39
- /// > 1 lane changing cost factor
40
- /// </summary>
41
- public float MoreThanOneLaneChangingCostFactor = 2f ;
42
-
43
- /// <summary>
44
- /// Relative factor for lane traffic cost calculation
45
- /// </summary>
46
- public float TrafficCostFactor = 4f ;
47
-
48
- /// <summary>
49
- /// lane density random interval
50
- /// </summary>
51
- public float LaneDensityRandInterval = 20f ;
52
-
53
- /// <summary>
54
- /// Threshold for resetting traffic buffer
55
- /// </summary>
56
- public uint MaxTrafficBuffer = 10 ;
57
- }
58
- }
1
+ namespace TrafficManager . State . ConfigData {
2
+ public class AdvancedVehicleAI {
3
+ /// <summary>
4
+ /// Junction randomization for randomized lane selection
5
+ /// </summary>
6
+ public uint LaneRandomizationJunctionSel = 3 ;
7
+
8
+ /// <summary>
9
+ /// Cost factor for lane randomization
10
+ /// </summary>
11
+ public float LaneRandomizationCostFactor = 1f ;
12
+
13
+ /// <summary>
14
+ /// minimum base lane changing cost
15
+ /// </summary>
16
+ public float LaneChangingBaseMinCost = 1.1f ;
17
+
18
+ /// <summary>
19
+ /// maximum base lane changing cost
20
+ /// </summary>
21
+ public float LaneChangingBaseMaxCost = 1.5f ;
22
+
23
+ /// <summary>
24
+ /// base cost for changing lanes in front of junctions
25
+ /// </summary>
26
+ public float LaneChangingJunctionBaseCost = 2f ;
27
+
28
+ /// <summary>
29
+ /// base cost for traversing junctions
30
+ /// </summary>
31
+ public float JunctionBaseCost = 0.1f ;
32
+
33
+ /// <summary>
34
+ /// > 1 lane changing cost factor
35
+ /// </summary>
36
+ public float MoreThanOneLaneChangingCostFactor = 2f ;
37
+
38
+ /// <summary>
39
+ /// Relative factor for lane traffic cost calculation
40
+ /// </summary>
41
+ public float TrafficCostFactor = 4f ;
42
+
43
+ /// <summary>
44
+ /// lane density random interval
45
+ /// </summary>
46
+ public float LaneDensityRandInterval = 20f ;
47
+
48
+ /// <summary>
49
+ /// Threshold for resetting traffic buffer
50
+ /// </summary>
51
+ public uint MaxTrafficBuffer = 10 ;
52
+ }
53
+ }
0 commit comments