Struct caminos_lib::pattern::RandomPermutation [−][src]
pub struct RandomPermutation { /* fields omitted */ }
Expand description
Build a random permutation on initialization, which is then kept constant.
This allows self-messages; with a reasonable probability of having one.
See RandomInvolution
and FileMap
.
Trait Implementations
Fix the input and output size, providing the topology and random number generator. Careful with using toology in sub-patterns. For example, it may be misleading to use the dragonfly topology when building a pattern among groups or a pattern among the ruters of a single group. Even just a pattern of routers instead of a pattern of servers can lead to mistakes. Read the documentation of the traffic or meta-pattern using the pattern to know what its their input and output. Read more
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.