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 | 162 | TODO, FIXME, XXX |
Each tag is detailed below:
Open issues in the code
Number of occurrences found in the code: 162
org.opentrafficsim.road.DefaultTestParameters | Line |
---|---|
add another else to catch any unanticipated cases? | 76 |
Explain why this exception can/should be ignored. do not set parameter without default value | 80 |
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. | 94 |
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()); | 134 |
removeLane should throw an Error when the car is not on that lane (currently this is silently ignored) | 353 |
figure out why the added lane has a non-zero position | 354 |
org.opentrafficsim.road.gtu.LaneBasedGtuTest | Line |
see how we can ask the vehicle to look this far ahead | 174 |
see how we can ask the vehicle to look this far behind | 182 |
see how we can ask the vehicle to look 'forwardMaxDistance' ahead | 216 |
follower = truck.headway(reverseMaxDistance); | 237 |
org.opentrafficsim.road.gtu.generator.Platoons | Line |
end time of platoon may be in next demand period, which makes the demand non-linear | 313 |
org.opentrafficsim.road.gtu.lane.LaneBasedGtu | Line |
should be indicated with a Parameter | 153 |
can be removed after testing period | 157 |
can be removed after testing period | 161 |
move this to super.init(...), and remove setOperationalPlan(...) method Give the GTU a 1 micrometer long operational plan, or a stand-still plan, so the first move and events will work | 210 |
the below 0 and above 0 is NOT what is tested | 314 |
this assumes lanes are perfectly attached | 358 |
this assumes lanes are perfectly attached | 378 |
WRONG: this.fireTimedEvent(LaneBasedGtu.LANE_CHANGE_EVENT, new Object[] {getId(), laneChangeDirection, from}, | 471 |
WRONG: getSimulator().getSimulatorTime()); | 472 |
If there are still events left, clearly something went wrong? | 509 |
Added boolean to indicate whether warnings need to be given when events were found | 510 |
hard remove over whole network | 1403 |
logger notification | 1404 |
the next 2 events are never fired... | 1753 |
org.opentrafficsim.road.gtu.lane.changing.LaneChangeModelTest | Line |
create a LinkAnimation if the simulator is compatible with that. | 100 |
The current LinkAnimation is too bad to use... | 101 |
Decide what type of overtaking conditions we want in this test | 125 |
test/prove the expected differences between Egoistic and Altruistic | 289 |
prove that the most restrictive car in the other lane determines what happens | 290 |
test merge into overtaking lane | 291 |
org.opentrafficsim.road.gtu.lane.control.DelayedActuation | Line |
numerical implementation of tau rule | 45 |
org.opentrafficsim.road.gtu.lane.perception.AbstractPerceptionIterable | Line |
this let's us ignore an object that is registered on the next lane, but who's tail may be on this lane | 270 |
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. | 235 |
org.opentrafficsim.road.gtu.lane.perception.categories.DirectDefaultSimplePerception | Line |
end of lanepath | 639 |
allow observation of other objects as well. | 829 |
--No comment-- | 924 |
calculate real overlaps | 940 |
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())); | 999 |
org.opentrafficsim.road.gtu.lane.perception.categories.DirectInfrastructurePerception | Line |
this is very limited information regarding what the prospect could have, is this is only maximum vehicle speed, and legal speed on the lane | 179 |
org.opentrafficsim.road.gtu.lane.perception.categories.DirectIntersectionPerception | Line |
get from link combination (needs to be a map property on the links) | 202 |
limit 'conflictingVisibility' to first upstream traffic light, so GTU's behind it are ignored | 215 |
stop lines (current models happen not to use this, but should be possible) | 224 |
org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayGtuReal | Line |
--No comment-- | 258 |
--No comment-- | 287 |
org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayGtuType | Line |
create SpeedLimitInfo on the basis of this.gtuTypeAssumptions.getLaneTypeMaxSpeed(...) | 149 |
org.opentrafficsim.road.gtu.lane.perception.mental.TaskManager | Line |
rename MentalTaskRegulator as in paper? (also sub-classes) | 21 |
org.opentrafficsim.road.gtu.lane.perception.structure.LaneStructure | Line |
Generalize this class so it can be used by conflicts as well. This will probably require the relative lane to be removed, and the starter to include obtaining the cross section. | 717 |
the next two for-loops should be external in something that just gives a set of LaneRecords | 772 |
org.opentrafficsim.road.gtu.lane.plan.operational.LaneChange | Line |
this assumes the time step will not be interrupted | 370 |
sequential is disabled as LaneChangePath now uses 2 OtsLine2d's instead of 2 List<Lane>'s. This was done as the code using LaneChangePath (i.e. LaneChange) required more details on fractional positions itself. | 693 |
org.opentrafficsim.road.gtu.lane.plan.operational.LaneOperationalPlanBuilder | Line |
driving with negative speeds (backward driving) is not yet supported. <p> Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>. </p> | 42 |
org.opentrafficsim.road.gtu.lane.plan.operational.SimpleOperationalPlan | Line |
AV | 123 |
AV | 135 |
org.opentrafficsim.road.gtu.lane.tactical.LaneBasedCfLcTacticalPlanner | Line |
how to handle objects on this lane or another lane??? | 133 |
these two info's are not used | 148 |
skip if: - we are in the right lane and drive at max speed or we accelerate maximally - there are no other lanes | 153 |
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. | 213 |
these comparisons to -10 is ridiculous. | 266 |
move suitability to LanePerception? Return the suitability for the current lane, left adjacent lane or right adjacent lane. | 357 |
--No comment-- | 576 |
this method should probably be moved into the CrossSectionLink class | 633 |
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... | 81 |
org.opentrafficsim.road.gtu.lane.tactical.LaneBasedTacticalPlanner | Line |
private when we use java 9 | 137 |
org.opentrafficsim.road.gtu.lane.tactical.following.AbstractGtuFollowingModelMobil | Line |
Under which circumstances can getDistance() be NULL? Should that indeed result in TOODANGEROUS? | 60 |
org.opentrafficsim.road.gtu.lane.tactical.following.FixedAccelerationModel | Line |
should be specified in constructor | 87 |
org.opentrafficsim.road.gtu.lane.tactical.following.IdmOld | Line |
maxDistance dV is the approach speed | 111 |
org.opentrafficsim.road.gtu.lane.tactical.following.IdmPlusOld | Line |
maxDistance | 117 |
org.opentrafficsim.road.gtu.lane.tactical.following.SequentialFixedAccelerationModel | Line |
incorporate stepSize | 153 |
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 | 66 |
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-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>. </p> | 15 |
org.opentrafficsim.road.gtu.lane.tactical.lmrs.AccelerationBusStop | Line |
this process is much more complex: tail blocking other traffic? other bus in front? many people at bus stop? | 40 |
org.opentrafficsim.road.gtu.lane.tactical.lmrs.AccelerationNoRightOvertake | Line |
ignore incentive if we need to change lane for the route | 51 |
only sensible if the left leader can change right; add this info to HeadwayGtu? | 66 |
org.opentrafficsim.road.gtu.lane.tactical.lmrs.IncentiveCourtesy | Line |
factor -a/b as influence factor is heavy in calculation, consider v<vEgo & 1-s/x0 | 85 |
org.opentrafficsim.road.gtu.lane.tactical.lmrs.IncentiveQueue | Line |
a ramp-metering traffic light triggers this incentive with possible cooperation from the main line | 62 |
org.opentrafficsim.road.gtu.lane.tactical.lmrs.IncentiveSocioSpeed | Line |
keep left or right rules | 40 |
org.opentrafficsim.road.gtu.lane.tactical.lmrs.IncentiveSpeed | Line |
SpeedWithCourtesy now uses TrafficPerception, which embeds the courtesy part. How to do this? | 32 |
org.opentrafficsim.road.gtu.lane.tactical.lmrs.Lmrs | Line |
consider route in incentives (only if not on current lane?) | 127 |
org.opentrafficsim.road.gtu.lane.tactical.lmrs.LmrsFactory | Line |
use factory instead of constructors | 109 |
org.opentrafficsim.road.gtu.lane.tactical.toledo.Toledo | Line |
vehicle not ahead and not backwards but completely adjacent | 117 |
infinite -> some limited space, speed also one leader | 350 |
definition of 'right most lane' does not account for ramps and weaving sections | 638 |
org.opentrafficsim.road.gtu.lane.tactical.toledo.ToledoCarFollowing | Line |
speed difference with reaction time | 145 |
org.opentrafficsim.road.gtu.lane.tactical.toledo.ToledoPerception | Line |
updateInfrastructureLaneChangeInfo with split number | 32 |
org.opentrafficsim.road.gtu.lane.tactical.util.ConflictUtil | Line |
do not ignore vehicles upstream of conflict if they have green | 65 |
conflict over multiple lanes (longitudinal in own direction) | 66 |
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) | 67 |
priority rules of busses should be handled differently, this also makes a GTU type unnecessary here | 190 |
depending on left/right-hand traffic | 199 |
depending on rules, we may need to stop and not just yield | 227 |
--No comment-- | 282 |
what to do when we happen to be in the stopping distance? Stopping might be reasonable, while car-following might give strong deceleration due to s < s0. | 292 |
only within visibility | 446 |
safety factor? | 496 |
this check is simplistic, designed quick and dirty | 541 |
conflicting vehicle on crossing conflict, but will leave sooner then we enter, so no problem? | 657 |
more generally, also upstream conflicting vehicles at crossings may leave the conflict before we enter | 658 |
stopping | 910 |
all-stop behavior | 923 |
org.opentrafficsim.road.gtu.lane.tactical.util.lmrs.Cooperation | Line |
only cooperate if merger still quite fast or there's congestion downstream anyway (which we can better estimate than only considering the direct leader | 102 |
org.opentrafficsim.road.gtu.lane.tactical.util.lmrs.GapAcceptance | Line |
--No comment-- | 46 |
org.opentrafficsim.road.gtu.lane.tactical.util.lmrs.LmrsUtil | Line |
this approach is a hack | 520 |
org.opentrafficsim.road.gtu.lane.tactical.util.lmrs.Synchronization | Line |
replace this hack with something that properly accounts for overshoot this method also introduces very strong deceleration at low speeds, as the time step makes bMin go from 3.4 (ignored, so maybe 1.25 acceleration applied) to >10 | 62 |
org.opentrafficsim.road.gtu.perception.RelativeLaneTest | Line |
Wait for Wouter to indicate whether numLanes == 0 is really permitted when lat != LateralDirectionality.NONE | 71 |
fix if 0 is only permitted for LateralDirectionality.NONE | 75 |
org.opentrafficsim.road.gtu.perception.VerifyPerceptionCategoryMethods | Line |
to what extent do we want to prescribe this now that we have more flexible perception categories | 66 |
fail("Class " + c + " does not have a field '" + field + "*', nor wraps a perception category that does."); | 184 |
fail... | 215 |
fail... | 221 |
org.opentrafficsim.road.gtu.strategical.LaneBasedStrategicalRoutePlanner | Line |
this takes the first in the set of links that connects the correct nodes; does not handle parallel links consistently | 211 |
Probably this test can be removed since we only go "forward" | 216 |
org.opentrafficsim.road.network.RoadNetwork | Line |
Is the GTU type actually relevant for physical? It is used still to find adjacent lanes. | 176 |
isDeadEnd should be removed from LaneChangeInfo, behavior should consider legal vs. physical | 357 |
org.opentrafficsim.road.network.lane.ConflictTest | Line |
discuss if this method should be moved into the OtsLine2d class | 198 |
org.opentrafficsim.road.network.lane.CrossSectionLink | Line |
work in a different way with lane numbers to align to standard lane numbering. | 60 |
allow for the removal of a Lane; currently this is not possible. | 72 |
org.opentrafficsim.road.network.lane.CurveTest | Line |
finish writing this test | 103 |
org.opentrafficsim.road.network.lane.DetectorTest | Line |
this is not true anymore with OperationalPlans, Perception, etc => | 136 |
the number of events that should be scheduled can vary per models chosen | 137 |
assertEquals("There should be three scheduled events (trigger, leaveLane, | 138 |
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. | 139 |
assertEquals("Trigger event should be around 38.3403", 38.3403, | 143 |
triggerEvent.getAbsoluteExecutionTime().get().getSI(), 0.0001); | 144 |
check that the sensor is triggered at the right time. | 172 |
org.opentrafficsim.road.network.lane.Lane | Line |
constructor calls with this(...) | 221 |
take the cross section slices into account... | 279 |
take the cross section slices into account... | 295 |
take the cross section slices into account... | 319 |
take the cross section slices into account... | 335 |
this is a hack for when sink detectors aren't perfectly adjacent or the GTU overshoots with nose due to curvature | 560 |
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. | 1017 |
this should return something immutable | 1038 |
determine if this should synchronize on this.nextLanes | 1043 |
And is it aligned with its next lane? | 1063 |
this should return something immutable | 1107 |
And is it aligned with its next lane? | 1131 |
let HistoricalArrayList return an Immutable (WRAP) of itself | 1325 |
org.opentrafficsim.road.network.lane.LaneTest | Line |
what overtaking conditions do we want to test in this unit test? | 94 |
This test for expectedLateralCenterOffset fails | 110 |
This is not correct... | 152 |
what overtaking conditions do we want to test in this unit test? | 673 |
remove this method Pending djutils issue #15, this method should be removed. Then, 'result2' above should become 'result' instead. | 798 |
org.opentrafficsim.road.network.lane.changing.OvertakingConditions | Line |
All these "Right/LeftSet" classes should probably use Compatibility instead of full sets. <p> Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>. </p> | 284 |
org.opentrafficsim.road.network.lane.conflict.Conflict | Line |
the OtsLine2d object should be shared by all ConflictEnd objects (removing OtsGeometryException) | 510 |
why not create a getter for the gtu in the super class? <p> Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>. </p> | 546 |
org.opentrafficsim.road.network.lane.conflict.ConflictBuilder | Line |
use z-coordinate for intersections of lines | 49 |
use remove big parallel type, and use fibers for small tasks. | 50 |
we cache, but the width generator may be different | 284 |
handle bus priority on the model side | 510 |
handle bus priority on the model side | 620 |
make parallel simulator.getLogger().setAllLogLevel(Level.WARNING); | 1274 |
org.opentrafficsim.road.network.lane.object.detector.DirectionalOccupancyDetector | Line |
enforce clone method | 73 |
org.opentrafficsim.road.network.lane.object.detector.TrafficLightDetector | Line |
Possibly provide the GtuTypes that trigger the detector as an argument for the constructor | 104 |
org.opentrafficsim.road.network.lane.object.sensor.TrafficLightDetectorTest | Line |
@Test | 150 |
THIS TEST FAILS!! assertEquals("event list should contain one event (due to creation of the GTU on the detector)", 1, this.loggedEvents.size()); | 236 |
org.opentrafficsim.road.network.speed.package-info | Line |
--No comment-- | 21 |
org.opentrafficsim.road.od.OdApplier | Line |
sinks? white extension links? | 137 |
clean up stream acquiring code after task OTS-315 has been completed | 143 |
should be GTU type dependent. | 646 |
org.opentrafficsim.road.od.SplitFraction | Line |
let interpolation interpolate itself | 151 |