Struct caminos_lib::routing::Shortest[][src]

pub struct Shortest {}
Expand description

Use the shortest path from origin to destination

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Compute the list of allowed exits.

Initialize the routing info of the packet. Called when the first phit of the packet leaves the server and enters a router.

Updates the routing info of the packet. Called when the first phit of the packet leaves a router and enters another router. Values are of the router being entered into.

Prepares the routing to be utilized. Perhaps by precomputing routing tables.

To be called by the router when one of the candidates is requested.

To optionally write routing statistics into the simulation output.

Clears all collected statistics

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.