class FundamentalDiagram.Sample extends Object
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
See for project information www.simulation.tudelft.nl.
The OpenTrafficSim project is distributed under the following BSD-style license:
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
following conditions are met:
Constructor and Description |
---|
Sample() |
Modifier and Type | Method and Description |
---|---|
void |
addData(org.djunits.value.vdouble.scalar.Speed speed)
Add one Car detection to this Sample.
|
double |
getValue(Axis axis)
Retrieve a value stored in this Sample.
|
public double getValue(Axis axis)
axis
- Axis; the axis along which the data is requestedpublic void addData(org.djunits.value.vdouble.scalar.Speed speed)
speed
- DoubleScalar.Rel<SpeedUnit>; the detected speedCopyright © 2014–2015 Delft University of Technology. All rights reserved.