Trait clock_zones::Layout[][src]

pub trait Layout<B: Bound> {
    fn new(num_clocks: usize, init: B) -> Self;
fn set(&mut self, left: Clock, right: Clock, bound: B);
fn get(&self, left: Clock, right: Clock) -> &B; }

Represents a storage layout for DBM.

Required methods

fn new(num_clocks: usize, init: B) -> Self[src]

Initializes the storage for num_clock clocks using init as initial bound for all differences.

fn set(&mut self, left: Clock, right: Clock, bound: B)[src]

Sets the bound for the clock difference left - right.

fn get(&self, left: Clock, right: Clock) -> &B[src]

Retrieves the bound for the clock difference left - right.

Loading content...

Implementors

impl<B: Bound> Layout<B> for LinearLayout<B>[src]

impl<B: Bound> Layout<B> for MatrixLayout<B>[src]

Loading content...