This project is read-only.

Wireless simulation

The wireless simulation mode in Mirelle allows the user to test whether a planner algorithm works well.

The environment

For the wireless simulation to work, you will need to define an environment first. The environment consists of the data flows, which generate data that is to be transmitted via wireless network. Each flow is represented by an instance of the flow type.

As well, the flow_sim methods and properties relate to the environment (for example, the speed and channel properties.

The planner

The planner's task is to take data from the flows and fit it into a transmittable unit (known as symbol) in the best way possible. This is a non-trivial task, due to the fact that each block of the symbol has a different error probability and the flows have priorities. The simulate planner operator provides the functionality to test whether the current planner algorithm performs well.

Here's an example of the simpliest planner possible:

type wtf
{
  static symbol planner(flow[] flows, symbol old)
  {
    var symb = new symbol
    for block in symb.blocks do
    {
      var flow = flow_sim:pick_flow flows
      block.fill flow
    }  
    return symb
  }
}

Wireless simulation types

For more detailed info, read about the following types:

Last edited May 15, 2011 at 1:54 PM by impworks, version 4

Comments

No comments yet.