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

Basic trait for a global router.

Associated Types

Result of the global routing. The exact type depends on the routing algorithm.

Failure during routing.

Required methods

Get the name of the routing engine.

Compute the global routes. Neither layout nor netlist are modified.