Struct caminos_lib::pattern::ProductPattern[][src]

pub struct ProductPattern { /* fields omitted */ }
Expand description

A pattern given by blocks. The elements are divided by blocks of size block_size. The global_pattern is used to describe the communication among different blocks and the block_pattern to describe the communication inside a block. Seen as a graph, this is the Kronecker product of the block graph with the global graph. Thus the origin a position i in the block j will select the destination at position b(i) in the block g(j), where b(i) is the destination via the block_pattern and g(j) is the destination via the global_pattern.

Trait Implementations

Formats the value using the given formatter. Read more

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

Obtain a destination of a source. This will be called repeteadly as the traffic requires destination for its messages.

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.

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.