| Package | Description |
|---|---|
| org.opentrafficsim.core.network.lane |
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
|
| org.opentrafficsim.core.value.conversions |
Common conversions that generate results in the correct unit.
|
| org.opentrafficsim.core.value.vdouble.matrix |
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
|
| org.opentrafficsim.core.value.vdouble.scalar |
Double Scalar storage and calculations with units, absolute/relative.
|
| org.opentrafficsim.core.value.vdouble.vector |
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
|
| org.opentrafficsim.graphs |
Basic graphs for traffic simulation.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar<LengthUnit> |
CrossSectionElement.getLateralCenterPosition(DoubleScalar.Rel<LengthUnit> longitudinalPosition)
Retrieve the lateral offset from the Link design line at the specified longitudinal position.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleScalar.Rel<TimeUnit> |
Calc.speedDividedByAcceleration(DoubleScalar<SpeedUnit> speed,
DoubleScalar.Rel<AccelerationUnit> acceleration)
Time is speed divided by acceleration.
|
static DoubleScalar.Rel<LengthUnit> |
Calc.speedSquaredDividedByDoubleAcceleration(DoubleScalar<SpeedUnit> speed,
DoubleScalar.Abs<AccelerationUnit> acceleration)
(Braking) distance is speed squared divided by two times the acceleration.
|
| Modifier and Type | Method and Description |
|---|---|
protected static <U extends Unit<U>> |
DoubleMatrix.checkNonEmpty(DoubleScalar<U>[][] dsArray)
Check that a provided array can be used to create some descendant of a DoubleMatrix.
|
DoubleScalar<U> |
ReadOnlyDoubleMatrixFunctions.get(int row,
int column)
Retrieve the value stored at a specified row and column as a DoubleScalar.
|
| Modifier and Type | Method and Description |
|---|---|
protected static <U extends Unit<U>> |
DoubleMatrix.checkNonEmpty(DoubleScalar<U>[][] dsArray)
Check that a provided array can be used to create some descendant of a DoubleMatrix.
|
protected void |
DoubleMatrix.initialize(DoubleScalar<U>[][] values)
Construct the matrix and store the values in the standard SI unit.
|
void |
WriteDoubleMatrixFunctions.set(int row,
int column,
DoubleScalar<U> value)
Replace the value at row, column by the supplied value which is in a compatible unit.
|
void |
MutableDoubleMatrix.set(int row,
int column,
DoubleScalar<U> value)
Replace the value at row, column by the supplied value which is in a compatible unit.
|
| Modifier and Type | Method and Description |
|---|---|
abstract DoubleScalar<U> |
MutableDoubleScalar.immutable()
Make (immutable) DoubleScalar equivalent for any type of MutableDoubleScalar.
|
| Modifier and Type | Method and Description |
|---|---|
protected MutableDoubleScalar<U> |
MutableDoubleScalar.decrementBy(DoubleScalar<U> decrement)
Decrement the value in this MutableDoubleScalar by the value in a DoubleScalar.
|
protected MutableDoubleScalar<U> |
MutableDoubleScalar.incrementBy(DoubleScalar<U> increment)
Increment the value in this MutableDoubleScalar by the value in a DoubleScalar.
|
protected void |
DoubleScalar.initialize(DoubleScalar<U> value)
Initialize the valueSI field.
|
| Modifier and Type | Method and Description |
|---|---|
protected static <U extends Unit<U>> |
DoubleVector.checkNonEmpty(DoubleScalar<U>[] dsArray)
Check that a provided array can be used to create some descendant of a DoubleVector.
|
DoubleScalar<U> |
ReadOnlyDoubleVectorFunctions.get(int index)
Retrieve the value stored at a specified index as a DoubleScalar.
|
| Modifier and Type | Method and Description |
|---|---|
protected static <U extends Unit<U>> |
DoubleVector.checkNonEmpty(DoubleScalar<U>[] dsArray)
Check that a provided array can be used to create some descendant of a DoubleVector.
|
protected void |
DoubleVector.initialize(DoubleScalar<U>[] values)
Construct the vector and store the values in the standard SI unit.
|
void |
WriteDoubleVectorFunctions.set(int index,
DoubleScalar<U> value)
Replace the value at index by the supplied value which is in a compatible unit.
|
void |
MutableDoubleVector.set(int index,
DoubleScalar<U> value)
Replace the value at index by the supplied value which is in a compatible unit.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpeedContourPlot.extendXRange(DoubleScalar<?> newUpperLimit)
Increase storage for sample data.
|
void |
FlowContourPlot.extendXRange(DoubleScalar<?> newUpperLimit)
Increase storage for sample data.
|
void |
DensityContourPlot.extendXRange(DoubleScalar<?> newUpperLimit)
Increase storage for sample data.
|
abstract void |
ContourPlot.extendXRange(DoubleScalar<?> newUpperLimit)
Increase storage for sample data.
|
void |
AccelerationContourPlot.extendXRange(DoubleScalar<?> newUpperLimit)
Increase storage for sample data.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.