Struct caminos_lib::topology::multistage::WidenedStage [−][src]
pub struct WidenedStage { /* fields omitted */ }
Implementations
Trait Implementations
Get the total memory currently being employed by the implementing type. Both stack and heap.
Prints by stdout how much memory is used per component.
Get an estimation on how much memory the type could reach during the simulation.
fn compose_requirements_upward(
&self,
requirements: LevelRequirements,
bottom_level: usize,
height: usize
) -> LevelRequirements
fn compose_requirements_upward(
&self,
requirements: LevelRequirements,
bottom_level: usize,
height: usize
) -> LevelRequirements
Compose the requirements of lower stages with this one.
bottom_level
is the level corresponding to the bottom of this Stage.
height
is the total number of stages in the network. Read more
Compute the size of the bottom level given the top one. Return error if there is not a legal one. Read more
Number of top routers that are neighbour to a given bottom.
Number of bottom routers that are neighbour to a given top.
Get the (top neighbour, reverse index) of a bottom router associated to the given index
. 0<=index<amount_to_above()
.
group_size
is the size of each subnetwork. Read more