Struct caminos_lib::pattern::ComponentsPattern [−][src]
pub struct ComponentsPattern { /* fields omitted */ }
Expand description
Divide the topology according to some given link classes, considering the graph components if the other links were removed.
Then apply the global_pattern
among the components and select randomly inside the destination comonent.
Note that this uses the topology and will cause problems if used as a sub-pattern.
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.