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 99 TODO, FIXME, XXX

Each tag is detailed below:

Open issues in the code

Number of occurrences found in the code: 99

org.opentrafficsim.core.car.LaneBasedIndividualCar Line
Should throw a more specific Exception type 391
org.opentrafficsim.core.car.LaneBasedTemplateCar Line
check that none of the variables (except animationClass) is null, and throw an exception if it is. 282
org.opentrafficsim.core.dsol.OTSSimTimeDouble Line
this.time.setZero(); 61
org.opentrafficsim.core.gtu.AbstractLaneBasedGTUTest Line
There should be a better way to check equality of RelativePosition 166
There should be a (better) way to check equality of RelativePosition 266
There should be a (better) way to check equality of RelativePosition 308
--No comment-- 377
--No comment-- 379
org.opentrafficsim.core.gtu.SpaceBasedGTU Line
space based interface for a GTU. Can be 2D, 3D. 15
org.opentrafficsim.core.gtu.following.GTUFollowingModel Line
We should probably add a <i>be ready to stop before</i> argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. 29
We should probably add a <i>be ready to stop before</i> argument to prevent vehicles that cannot see their 45
We should probably add a <i>be ready to stop before</i> argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. 68
org.opentrafficsim.core.gtu.following.IDM Line
compute logWeightedAccelerationTimes2 only once per run 114
org.opentrafficsim.core.gtu.generator.AbstractGTUGenerator Line
carBuilder.setInitialLongitudinalPositions(initialLongitudinalPositions); 157
org.opentrafficsim.core.gtu.lane.AbstractLaneBasedGTU Line
exceptions en zo. 202
speed this up by using SI units, caching, etc. if (lane.fractionSI(frontPosSI) <= 1.0 && lane.fraction(position(lane, getFront(), this.nextEvaluationTime)) > 1.0) { for (Lane nextLane : lane.nextLanes()) { // Only follow links on the Route if there is a Route, and we haven't added this lane already if (!this.lanes.contains(nextLane) && (this.getRoute() == null || this.getRoute() != null && this.getRoute().containsLink(nextLane.getParentLink()))) { this.lanes.add(nextLane); if (!this.fractionalLinkPositions.containsKey(nextLane.getParentLink())) { double positionSI = frontPosSI - lane.getLength().getSI() - getFront().getDx().getSI(); this.fractionalLinkPositions.put(nextLane.getParentLink(), nextLane.fractionSI(positionSI)); } lanesToCheck.add(nextLane); } } } } Execute all samplers 284
500? 340
200? 342
should be the local speed limit and based on the maximum lane speed and the maximum GTU speed 344
make lane changes gradual (not instantaneous; like now) 378
solve problem when point is still on previous lane. 1159
org.opentrafficsim.core.gtu.lane.changing.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 56
org.opentrafficsim.core.gtu.lane.changing.LaneChangeModel Line
the parameters of this method will change. Hopefully will become straightforward to figure out the nearby vehicles in the current and the adjacent lanes. 31
org.opentrafficsim.core.gtu.lane.changing.LaneChangeModelTest Line
create a LinkAnimation if the simulator is compatible with that. 74
The current LinkAnimation is too bad to use... 75
test/prove the expected differences between Egoistic and Altruistic 279
prove that the most restrictive car in the other lane determines what happens 280
test merge into overtaking lane 281
org.opentrafficsim.core.network.AbstractLink Line
Add directionality to a link? 60
org.opentrafficsim.core.network.AbstractNode Line
should return a copy? 131
should return a copy? 139
org.opentrafficsim.core.network.ExpansionNetwork Line
if (n instanceof AbstractExpansionNode && ((AbstractExpansionNode<?, ?>) n).getNetwork().isInNetwork(node, true)) 154
going through the tree once more is inefficient 174
if (n instanceof AbstractExpansionNode && ((AbstractExpansionNode<?, ?>) n).getNetwork().isInNetwork(node, false)) 183
ensure that no links are orphaned due to removal of the node 202
inefficient (searches once more) 205
add replacement links for each outgoing or incoming link (these are listed in neighborLinks). 262
create a Node that owns the sub network (includes figuring out the location for it) 263
Link<?, ?> newLinkFrom1 = new Link(node1.getId(), node1, node2, shortestLengthFrom1); newLinkFrom1.setCapacity(new DoubleScalar.Abs<FrequencyUnit>(forwardCapacity, FrequencyUnit.PER_SECOND)); super.add((L) newLinkFrom1); 320
Link<?, ?> newLinkFrom2 = new Link(node2.getId(), node2, node1, shortestLengthFrom2); newLinkFrom2.setCapacity(new DoubleScalar.Abs<FrequencyUnit>(reverseCapacity, FrequencyUnit.PER_SECOND)); super.add((L) newLinkFrom2); 326
org.opentrafficsim.core.network.Junction Line
added "= null" to make the error go away 45
org.opentrafficsim.core.network.LinkLocation Line
not on the same link. Find shortest path... 84
org.opentrafficsim.core.network.LinkLocationTest Line
distance to location on another link (not yet possible; currently ALWAYS returns null) 62
org.opentrafficsim.core.network.Network Line
ensure that no links are orphaned due to removal of the node 113
org.opentrafficsim.core.network.Route Line
PK: Either make a defensive copy, or document that this constructor does not make a defensive copy 51
this fails if this route contains a Node more than once. 229
org.opentrafficsim.core.network.SubNetwork Line
should probably return a copy of the set 58
org.opentrafficsim.core.network.factory.NetworkLaneParser Line
speed element of a specific lane 310
width element 325
width element of a specific lane 326
create lanes and link 351
parse lane elements in the link 714
org.opentrafficsim.core.network.factory.XmlNetworkLaneParser Line
incorporate into grammar. 207
put in utility class. Also exists in CrossSectionElement. 1064
LinkGeotools should extend CrossSectionLink and not the other way around. 1081
design line in the middle of a lane (AD, XD, VD, SD) 1193
tapered and design line offset changes. 1226
probably ok to generate a new model for each GTU 'type'. 1350
probably ok to generate a new model for each GTU 'type'. 1369
include in GLOBAL tag. 1611
org.opentrafficsim.core.network.geotools.LinearGeometry Line
see if CRS is in meters... 130
possibly add a couple of other constructors for convenience. 151
org.opentrafficsim.core.network.lane.CrossSectionElement Line
LengthUnit and width might depend on CRS 94
put in utility class. Also exists in XmlNetworkLaneParser. 102
org.opentrafficsim.core.network.lane.Lane Line
write interface for samplers 73
Take care of directionality. 103
PK does not understand the use of Math.max here. 246
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. 463
indexOf may not be the correct way to determine the rank of a Lane (counts stripes as well) 697
org.opentrafficsim.core.network.lane.SensorTest Line
setup a test that verifies trigger of a SensorLaneStart; this is not (yet) possible 151
org.opentrafficsim.core.unit.AngleSlopeUnit Line
PERCENT unit. Non-linear. public static final AngleSlopeUnit PERCENT; 31
org.opentrafficsim.core.unit.Unit Line
professional logging of errors exception.printStackTrace(); 77
complain wherever we can 157
complain wherever we can 197
call static method from the instance method? The two are now too similar. 278
call other static method? The two are now too similar. 385
org.opentrafficsim.core.unit.UnitLocalizationsTest Line
Vector and Matrix tests make these and then cause this test to fail 70
Vector and Matrix tests make these and then cause this test to fail 74
Scalar tests make these and then cause this test to fail 78
org.opentrafficsim.core.value.Format Line
check how to always format numbers corresponding to the Locale used. <p> This file was generated by the OpenTrafficSim value classes generator, 09 mrt, 2015 <p> Copyright (c) 2014 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/node/13">OpenTrafficSim License</a>. <p> 7
org.opentrafficsim.core.value.vdouble.matrix.DoubleMatrix Line
is this correct? Should lookup matrix algebra to find out unit for x when solving A*x = b ? 854
should the algorithm throw an exception when rows/columns do not match when solving A*x = b ? 859
Decide if you ever need multiply an Absolute with anything 1140
org.opentrafficsim.core.value.vdouble.matrix.MutableDoubleMatrix Line
It makes no sense to subtract an Absolute from a Relative 1085
org.opentrafficsim.core.value.vdouble.vector.DoubleVector Line
Decide if you ever need multiply an Absolute with anything 1002
org.opentrafficsim.core.value.vdouble.vector.MutableDoubleVector Line
It makes no sense to subtract an Absolute from a Relative 1073
org.opentrafficsim.core.value.vfloat.matrix.FloatMatrix Line
is this correct? Should lookup matrix algebra to find out unit for x when solving A*x = b ? 854
should the algorithm throw an exception when rows/columns do not match when solving A*x = b ? 859
Decide if you ever need multiply an Absolute with anything 1140
org.opentrafficsim.core.value.vfloat.matrix.MutableFloatMatrix Line
It makes no sense to subtract an Absolute from a Relative 1083
org.opentrafficsim.core.value.vfloat.vector.FloatVector Line
Decide if you ever need multiply an Absolute with anything 1002
org.opentrafficsim.core.value.vfloat.vector.MutableFloatVector Line
It makes no sense to subtract an Absolute from a Relative 1073
org.opentrafficsim.graphs.ContourPlotTest Line
looks wrong / PK 451
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. 269
org.opentrafficsim.graphs.TrajectoryPlotTest Line
adapt to new path (List<Lane>) concept 38
we take the first (and only) lane on which the vehicle is registered. 178
org.opentrafficsim.importexport.osm.input.NewSink Line
Auto-generated method stub 46
org.opentrafficsim.importexport.osm.input.ReadOSMFile Line
Auto-generated catch block 109
org.opentrafficsim.simulationengine.ControlPanel Line
should be disabled when the simulator was just reset or initialized 220