Tag List Report

The following document contains the listing of user tags found in the code. Below is the summary of the occurrences per tag.

Tag Class Total number of occurrences Tag strings used by tag class
Open issues in the code 202 TODO, FIXME, XXX

Each tag is detailed below:

Open issues in the code

Number of occurrences found in the code: 202

org.opentrafficsim.graphs.ContourPlotTest Line
@Test 96
@Test 116
@Test 176
@Test 196
looks wrong / PK 515
org.opentrafficsim.graphs.FundamentalDiagram Line
--No comment-- 622
org.opentrafficsim.graphs.FundamentalDiagramPlotTest Line
@Test 78
THIS TEST FAILS!!! assertEquals("Density should be " + expectedDensity, expectedDensity, value, 0.00001); 175
org.opentrafficsim.graphs.TrajectoryPlot Line
ensure that shapes for all the data points don't get allocated. Currently JFreeChart allocates many megabytes of memory for Ellipses that are never drawn. 399
lane change causes error... 850
org.opentrafficsim.graphs.TrajectoryPlotTest Line
we take the first (and only) lane on which the vehicle is registered. 212
org.opentrafficsim.road.car.CarTest Line
check with following model as part of tactical planner assertEquals("The gtu following model should be " + gtuFollowingModel, gtuFollowingModel, referenceCar .getBehavioralCharacteristics().getGTUFollowingModel()); There is (currently) no way to retrieve the lane change model of a GTU. 105
org.opentrafficsim.road.gtu.AbstractLaneBasedGTUTest Line
Test with gfm as part of tactical planner assertEquals("GTU following model should be identical to the provided one", gfm, car .getBehavioralCharacteristics().getGTUFollowingModel()); 141
removeLane should throw an Error when the car is not on that lane (currently this is silently ignored) 384
figure out why the added lane has a non-zero position 385
org.opentrafficsim.road.gtu.LaneBasedGTUTest Line
see how we can ask the vehicle to look this far ahead 179
see how we can ask the vehicle to look this far behind 187
see how we can ask the vehicle to look 'forwardMaxDistance' ahead 220
follower = truck.headway(reverseMaxDistance); 241
org.opentrafficsim.road.gtu.LaneBasedTemplateGTUTypeTest Line
assertTrue("Passengers cars are allowed on a no trucks lane", passengerCar.isCompatible(trucksForbidden)); 288
assertFalse("Trucks are not allowed on a no trucks lane", truck.isCompatible(trucksForbidden)); 289
assertFalse("Passenger cars are not allowed on a trucks only lane", passengerCar.isCompatible(trucksOnly)); 290
assertTrue("Trucks are allowed on a trucks only lane", truck.isCompatible(trucksOnly)); 291
assertTrue("Passenger cars are allowed on an urban road", passengerCar.isCompatible(urbanRoad)); 292
assertTrue("Trucks are allowed on an urban road", truck.isCompatible(urbanRoad)); 293
assertFalse("Passenger cars are not allowed on a bicycle path", passengerCar.isCompatible(bicycleLane)); 294
assertFalse("Trucks are not allowed on an urban road", truck.isCompatible(bicycleLane)); 295
org.opentrafficsim.road.gtu.animation.DefaultCarAnimation Line
this could be a property of a GTU 153
org.opentrafficsim.road.gtu.animation.DefaultSwitchableGTUColorer Line
LaneChangeUrgeGTUColorer COLORERS[3] = new LaneChangeUrgeGTUColorer(new Length(10, LengthUnit.METER), new Length(1000, LengthUnit.METER)); 38
org.opentrafficsim.road.gtu.generator.AbstractGTUGenerator Line
different from this.direction? 252
THIS METHOD IS ALSO IN PERCEPTION -- DON'T DUPLICATE; ALSO, THIS VERSION IS WRONG. 313
Only follow links on the Route if there is a "real" Route if (routeNavigator.getRoute() == null || routeNavigator.getRoute().size() == 0 /* XXXXX STUB dummy route */ || routeNavigator.getRoute().containsLink((Link) theLane.getParentLink())) 336
XX STUB dummy route 337
THIS METHOD IS ALSO IN PERCEPTION -- DON'T DUPLICATE; ALSO, THIS VERSION IS RONG. 373
Only follow links on the Route if there is a "real" Route if (routeNavigator.getRoute() == null || routeNavigator.getRoute().size() == 0 /* XXXXX STUB dummy route */ || routeNavigator.getRoute().containsLink((Link) theLane.getParentLink())) 396
XX STUB dummy route 397
org.opentrafficsim.road.gtu.generator.LaneBasedGTUGenerator Line
ALL? we need to stop for all gtus... 190
look beyond splitting lane 201
this is a hack, what if the reference position is not the middle? 231
org.opentrafficsim.road.gtu.generator.ListGTUGenerator Line
use given position in the constructor? 169
use given directionality in the constructor? 172
org.opentrafficsim.road.gtu.lane.AbstractLaneBasedGTU Line
The above enterLane creates an event with speed = 0.0, while the below init creates a move event with speed at the same time. 153
widest lane in case we are registered on more than one lane with the reference point 577
lane that leads to our location or not if we are registered on parallel lanes? 578
extra argument for DIR_MINUS driving direction? 614
PK: this goes very wrong for networks with short lanes with alternating GTUDireationality 629
extra argument for DIR_MINUS driving direction? 653
this does not account for the GTUDirectionality next lane 662
do this at the right time, scheduled with triggers. 4x 685
extra argument for DIR_MINUS driving direction? 697
look if more lanes are exited in one timestep, and continue the algorithm with the remainder of the time... 719
XXXXXXXXXXXXXXX Minus one ULP is not safe if you want to add the current time 734
XXXXXXXXXXXXXXX Should compute the time time at which the rear of the GTU exits the lane??? getSimulator().scheduleEventRel(new Duration(timestep - Math.ulp(timestep), TimeUnit.SI), this, this, "leaveLane", new Object[] { lane, new Boolean(true) }); // TODO should be false? 735
should be false? 737
should be false? 752
direction dependent... <br> 759
Hack - this should be done more considerate -- fails at loops... 796
direction dependent... <br> 820
Hack - this should be done more considerate -- fails at loops... 857
org.opentrafficsim.road.gtu.lane.LaneBasedIndividualGTU Line
Should throw a more specific Exception type 498
org.opentrafficsim.road.gtu.lane.changing.LaneChangeModelTest Line
create a LinkAnimation if the simulator is compatible with that. 99
The current LinkAnimation is too bad to use... Mock the simulator. Alternatively, provide the simulator from the constructModel. 100
Decide what type of overtaking conditions we want in this test 133
test/prove the expected differences between Egoistic and Altruistic 309
prove that the most restrictive car in the other lane determines what happens 310
test merge into overtaking lane 311
org.opentrafficsim.road.gtu.lane.perception.AbstractLanePerception Line
possibly optimize by using a 'singleton' lane structure source, per GTUType 118
possibly build and destroy at edges only 119
org.opentrafficsim.road.gtu.lane.perception.categories.DefaultSimplePerception Line
In other places in OTS LEFT is positive (and RIGHT is negative). This should be made more consistent. 651
end of lanepath 754
allow observation of other objects as well. 960
--No comment-- 1057
calculate real overlaps 1070
expand for other types of Headways result.add(new HeadwayGTUSimple(p.getId(), ((AbstractHeadwayGTU) p).getGtuType(), new Length(Double.NaN, LengthUnit.SI), p.getLength(), p.getSpeed(), p.getAcceleration())); 1131
org.opentrafficsim.road.gtu.lane.perception.categories.InfrastructurePerception Line
implement this method, current implementation is a simple fix 291
splits 327
implement this method, lane map needs support for this (and legal lane changes) 344
org.opentrafficsim.road.gtu.lane.perception.categories.IntersectionPerception Line
get from link combination (needs to be a map property on the links) 153
stop lines (current models happen not to use this, but should be possible) 164
also other HeadwayGTU type (i.e. not real) 228
GTU status (blinkers) 229
also other HeadwayGTU type (i.e. not real) 273
GTU status (blinkers) 274
use set of gtu types that may be conflicting 406
use set of gtu types that may be conflicting 428
org.opentrafficsim.road.gtu.lane.perception.categories.NeighborsPerception Line
remove this line 89
remove this fix to ignore on-ramp block 355
break search, but how to guarantee that the rear of further GTU's is not within lookahead? 367
break search, but how to guarantee that the front of further GTU's is not within lookback? 437
more GTU statuses 455
not use this check when synchronizing or cooperating 669
remove code below 687
org.opentrafficsim.road.gtu.lane.perception.headway.AbstractHeadway Line
fix this javadoc; there are obvious inconsistencies between this javadoc and the code below. 107
org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayGTUReal Line
this is a simple fix, and getReferenceLane() 96
org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayGTUType Line
create SpeedLimitInfo on the basis of this.gtuTypeAssumptions.getLaneTypeMaxSpeed(...) 143
org.opentrafficsim.road.gtu.lane.plan.operational.LaneOperationalPlanBuilder Line
driving with negative speeds (backward driving) is not yet supported. <p> Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> BSD-style license. See <a href="http://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>. </p> $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Nov 15, 2015 <br> 41
tolerance may depend on network, increased by 4 for A58 demo 150
also for other driving directions, additional arguments in projectFractional? 356
remove GTU argument (only needed for instantaneous lane change hack) 544
this elsewhere based on path 568
org.opentrafficsim.road.gtu.lane.tactical.AbstractLaneBasedTacticalPlanner Line
this is wrong, the other direction may not be allowed, i.e. is not accessible 682
org.opentrafficsim.road.gtu.lane.tactical.LaneBasedCFLCTacticalPlanner Line
how to handle objects on this lane or another lane??? 131
these two info's are not used 146
skip if: - we are in the right lane and drive at max speed or we accelerate maximally - there are no other lanes 151
whether we drive on the right should be stored in some central place. 159
move laneIncentives to LanePerception? Figure out if the default lane incentives are OK, or override them with values that should keep this GTU on the intended route. 235
these comparisons to -10 is ridiculous. 291
move suitability to LanePerception? Return the suitability for the current lane, left adjacent lane or right adjacent lane. 381
--No comment-- 604
this method should probably be moved into the CrossSectionLink class 661
org.opentrafficsim.road.gtu.lane.tactical.LaneBasedGTUFollowingDirectedChangeTacticalPlanner Line
should it be getObjectType().isGtu() or !getObjectType().isDistanceOnly() ? 280
Object & GTU 281
should it be getObjectType().isGtu() or !getObjectType().isDistanceOnly() ? 327
GTU & Object 328
remove this hack 494
should it be getObjectType().isGtu() or !getObjectType().isDistanceOnly() ? 541
Object & GTU 542
make type of plan (Egoistic, Altruistic) parameter of the class 553
make the elasticities 2.0 and 0.1 parameters of the class 555
org.opentrafficsim.road.gtu.lane.tactical.LaneBasedGTUFollowingTacticalPlanner Line
I really don't like this -- if there is a lane drop at 20 m, the GTU should stop... 84
org.opentrafficsim.road.gtu.lane.tactical.following.AbstractGTUFollowingModelMobil Line
Under which circumstances can getDistance() be NULL? Should that indeed result in TOODANGEROUS? 61
org.opentrafficsim.road.gtu.lane.tactical.following.FixedAccelerationModel Line
should be specified in constructor 88
org.opentrafficsim.road.gtu.lane.tactical.following.IDMOld Line
maxDistance dV is the approach speed 111
org.opentrafficsim.road.gtu.lane.tactical.following.IDMPlusMulti Line
add vehicle length corresponding to key 'headway' 59
org.opentrafficsim.road.gtu.lane.tactical.following.IDMPlusOld Line
maxDistance 117
org.opentrafficsim.road.gtu.lane.tactical.following.SequentialFixedAccelerationModel Line
incorporate stepSize 155
org.opentrafficsim.road.gtu.lane.tactical.lanechangemobil.AbstractLaneChangeModel Line
make this driving side dependent; i.e. implement a general way to figure out on which side of the road cars are supposed to drive 59
org.opentrafficsim.road.gtu.lane.tactical.lanechangemobil.LaneChangeModel Line
Lane change models should use the perceived nearby GTUs rather than a provided list of same lane traffic, etc. <p> Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> BSD-style license. See <a href="http://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>. <p> 15
org.opentrafficsim.road.gtu.lane.tactical.lmrs.IncentiveCourtesy Line
XX STUB 34
org.opentrafficsim.road.gtu.lane.tactical.lmrs.IncentiveHierarchal Line
XX STUB 31
org.opentrafficsim.road.gtu.lane.tactical.lmrs.LMRS Line
traffic lights on route, possible on different lane (and possibly close) 152
org.opentrafficsim.road.gtu.lane.tactical.toledo.Toledo Line
vehicle not ahead and not backwards but completely adjacent 112
remove this test code 164
infinite -> some limited space, speed also one leader 368
definition of 'right most lane' does not account for ramps and weaving sections 674
org.opentrafficsim.road.gtu.lane.tactical.toledo.ToledoCarFollowing Line
speed difference with reaction time 140
org.opentrafficsim.road.gtu.lane.tactical.toledo.ToledoFactory Line
remove LOOKBACKOLD and insert LOOKBACK once NeighborsPerception uses LOOKBACK 33
org.opentrafficsim.road.gtu.lane.tactical.toledo.ToledoPerception Line
updateInfrastructureLaneChangeInfo with split number 31
org.opentrafficsim.road.gtu.lane.tactical.util.ConflictUtil Line
conflict over multiple lanes (longitudinal in own direction) 60
stop length depending on speed? 61
vehicle generation at speed in T-junction demo 62
turbo roundabout demo 63
a) yielding while having priority happens only when leaders is standing still on conflict (then its useless...) b) two vehicles can remain upstream of merge if vehicle stands on merge but leaves some space to move probably 1 is yielding, and 1 is courtesy yielding as the other stands still c) they might start moving together and collide further down (no response to negative headway on merge) 64
--No comment-- 218
only within visibility 334
safety factor? 384
conflicting vehicle on conflict, but will leave sooner then we enter, so no problem? 512
maybe only constant acceleration? What did MOTUS do? 533
not b but b_critical? 556
what does the c stand for? not constant acceleration, i.e. also free acceleration is used 605
all-stop behavior 711
org.opentrafficsim.road.gtu.lane.tactical.util.lmrs.LmrsUtil Line
this is a hack to prevent right lane changes of all vehicles on the left lane when placed in network at t=0 166
org.opentrafficsim.road.gtu.strategical.LaneBasedStrategicalRoutePlannerTest Line
Gtu cannot be null anymore... LaneBasedStrategicalRoutePlanner lbsrp = new LaneBasedStrategicalRoutePlanner(bc, tacticalPlanner, null); 68
org.opentrafficsim.road.gtu.strategical.od.ODMatrix Line
remove this method as soon as there is a JUNIT test 489
org.opentrafficsim.road.gtu.strategical.od.ODMatrixTrips Line
pce (i.e. passenger car equivalent) instead of veh's 27
org.opentrafficsim.road.network.LinkLocationTest Line
distance to location on another link (not yet possible; currently ALWAYS returns null) 81
org.opentrafficsim.road.network.animation.ConflictAnimation Line
should ConflictAnimation implement the ClonableRenderable2DInterface? 33
org.opentrafficsim.road.network.lane.CrossSectionElement Line
use throwIf 135
org.opentrafficsim.road.network.lane.CrossSectionLink Line
per GTUDirectionality / LongitudinalDirectionality? 50
work in a different way with lane numbers to align to standard lane numbering. 56
allow for the removal of a Lane; currently this is not possible. 63
org.opentrafficsim.road.network.lane.CurveTest Line
finish writing this test 113
org.opentrafficsim.road.network.lane.Lane Line
allow for direction-dependent speed limit 103
allow for direction-dependent sensors 110
allow for direction-dependent lane objects 117
allow for direction-dependent overtaking conditions 162
constructor calls with this(...) 408
take the cross section slices into account... 487
take the cross section slices into account... 501
take the cross section slices into account... 524
take the cross section slices into account... 538
make sure triggering is done right when driving in DIR_MINUS direction 749
only center position? Or also width? What is a good cutoff? Base on average width of the GTU type that can drive on this Lane? E.g., for a Tram or Train, a 5 cm deviation is a problem; for a Car or a Bicycle, more deviation is acceptable. 1115
And is it aligned with its next lane? 1161
And is it aligned with its next lane? 1175
And is it aligned with its next lane? 1233
And is it aligned with its next lane? 1247
org.opentrafficsim.road.network.lane.LaneTest Line
what overtaking conditions do we ant to test in this unit test? 93
what overtaking conditions do we ant to test in this unit test? 144
what overtaking conditions do we ant to test in this unit test? 159
what overtaking conditions do we ant to test in this unit test? 223
org.opentrafficsim.road.network.lane.SensorTest Line
this is not true anymore with OperationalPlans, Perception, etc => 145
the number of events that should be scheduled can vary per models chosen 146
assertEquals("There should be three scheduled events (trigger, leaveLane, 147
car.move, terminate)", 4, eventList.size()); The sensor should be triggered around t=38.3403 (exact value: 10 / 9 * (sqrt(3541) - 25)) System.out.println("trigger event is " + triggerEvent); / TODO not triggered in next half second. 148
assertEquals("Trigger event should be around 38.3403", 38.3403, 152
triggerEvent.getAbsoluteExecutionTime().get().getSI(), 0.0001); 153
check that the sensor is triggered at the right time. 181
org.opentrafficsim.road.network.lane.conflict.ConflictBuilder Line
use z-coordinate for intersections of lines 39
quick bounding box check of both lanes, skip if not overlapping 271
org.opentrafficsim.road.network.lane.object.LaneBlock Line
--No comment-- 66
org.opentrafficsim.road.network.lane.object.sensor.DirectionalOccupancySensor Line
enforce clone method 61
org.opentrafficsim.road.network.lane.object.sensor.NonDirectionalOccupancySensor Line
enforce clone method 64
org.opentrafficsim.road.network.lane.object.sensor.TrafficLightSensor Line
Possibly provide the GTUTypes that trigger the sensor as an argument for the constructor 89
not handling backwards driving GTU 329
should the parent of the clone be our parent??? And should the (cloned) parent not construct its own flank sensors? 610
org.opentrafficsim.road.network.lane.object.sensor.TrafficLightSensorTest Line
@Test 197
THIS TEST FAILS!! assertEquals("event list should contain one event (due to creation of the GTU on the detector)", 1, this.loggedEvents.size()); 280
org.opentrafficsim.road.network.sampling.RoadSampler Line
GTUDirectionality from Lane.GTU_ADD_EVENT 217
Length from Lane.GTU_ADD_EVENT 229
GTUDirectionality from Lane.GTU_ADD_EVENT 252
org.opentrafficsim.road.network.speed.package-info Line
--No comment-- 19