Trait atoll::route::Router

source ·
pub trait Router: Send + Sync {
    // Required method
    fn route(
        &self,
        routing_state: &mut RoutingState<PdkLayer>,
        to_connect: Vec<Vec<NetId>>
    ) -> Vec<Path>;
}
Expand description

An ATOLL router.

Required Methods§

source

fn route( &self, routing_state: &mut RoutingState<PdkLayer>, to_connect: Vec<Vec<NetId>> ) -> Vec<Path>

Returns routes that connect the given nets.

Implementors§