pub trait DetailRouter<LN: L2NBase> {
    type RoutingResult: DrawDetailRoutes<LN>;
    type Error;
    fn name(&self) -> String;
fn route<RP>(
        &self,
        routing_problem: RP
    ) -> Result<Self::RoutingResult, Self::Error>
    where
        RP: DetailRoutingProblem<LN>
; }
Expand description

Basic trait for a detail router.

Associated Types

Result of the detail routing. The exact type depends on the routing algorithm. The only constraint is that the result can be drawn to a layout.

Failure during routing.

Required methods

Get the name of the routing engine.

Compute the detail routes. Neither layout nor netlist are modified. However, a successful result can be written to the layout.

Implementors