pub enum FundamentalDiagram {
Greenshields,
Underwood {
k_opt: Option<f64>,
},
Triangular,
FreeFlow,
Weidmann,
}Expand description
Speed-density relationship (fundamental diagram) for a transport link.
Variants§
Greenshields
Underwood
Triangular
FreeFlow
Weidmann
Weidmann (1993) pedestrian speed-density relationship.
Uses density in ped/m² (not veh/km/lane). The jam_density parameter
passed to speed() is ignored; the
Weidmann jam density of 5.4 ped/m² is used instead.
Important: when using this variant, density_per_km is
reinterpreted as density in ped/m².
Implementations§
Trait Implementations§
Source§impl Clone for FundamentalDiagram
impl Clone for FundamentalDiagram
Source§fn clone(&self) -> FundamentalDiagram
fn clone(&self) -> FundamentalDiagram
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FundamentalDiagram
impl Debug for FundamentalDiagram
Source§impl PartialEq for FundamentalDiagram
impl PartialEq for FundamentalDiagram
impl Copy for FundamentalDiagram
impl StructuralPartialEq for FundamentalDiagram
Auto Trait Implementations§
impl Freeze for FundamentalDiagram
impl RefUnwindSafe for FundamentalDiagram
impl Send for FundamentalDiagram
impl Sync for FundamentalDiagram
impl Unpin for FundamentalDiagram
impl UnsafeUnpin for FundamentalDiagram
impl UnwindSafe for FundamentalDiagram
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more