public interface SystemPlugin<UI extends SystemModel> extends ConsistencyCheck
Modifier and Type | Field and Description |
---|---|
static UniqueValueDef |
BANDWIDTH_CORRECTION |
static UniqueValueDef |
TX_POWER_CONTROL_GAIN |
Modifier and Type | Method and Description |
---|---|
SystemSpaces |
generateSystemSpaces(SystemSpaces enclosing)
Before a simulation instance runs the methods
SimulationInstance.victimSimulation(VictimResultCollector) ,
SimulationInstance.interferingSystemSimulation(EventResult, InterferenceLink, Point2D) , or SimulationInstance.interferingSystemSimulation(EventResult, InterferenceLink, Point2D, LinkResult)
the sector shapes are calculated. |
RadioSystem |
getSystem(Context context)
Get the configured
RadioSystem of this SystemPlugin
This is expected to return something meaningful after
prepareSimulation has been invoked. |
UI |
getUI() |
void |
postSimulation(Context context,
Results results) |
void |
prepareSimulation(Scenario scenario) |
void |
preSimulation(Context context,
Results results)
Calculate the pre-simulation results for this system.
|
void |
setUI(UI ui)
This method sets the current configuration of the UI of a SystemPlugin.
|
SimulationInstance |
simulationInstance(Context context,
SystemSpaces systemSpaces) |
consistencyCheck, getInterferenceLinkSystemCoverage, getSystemCoverage
static final UniqueValueDef TX_POWER_CONTROL_GAIN
static final UniqueValueDef BANDWIDTH_CORRECTION
void setUI(UI ui)
setUI
being called.
setUI
is called as it could change a lot before simulation
begins.ui
- the current configuration of the SystemPlugin
UI getUI()
void prepareSimulation(Scenario scenario)
RadioSystem getSystem(Context context)
RadioSystem
of this SystemPlugin
This is expected to return something meaningful after
prepareSimulation
has been invoked.RadioSystem
void preSimulation(Context context, Results results)
context
- the context of this pre-simulation. Either victim or interfering system.results
- the presimulation results to be used by each eventSimulationInstance simulationInstance(Context context, SystemSpaces systemSpaces)
SystemSpaces generateSystemSpaces(SystemSpaces enclosing)
SimulationInstance.victimSimulation(VictimResultCollector)
,
SimulationInstance.interferingSystemSimulation(EventResult, InterferenceLink, Point2D)
, or SimulationInstance.interferingSystemSimulation(EventResult, InterferenceLink, Point2D, LinkResult)
the sector shapes are calculated. This allows the simulation to communicate which positions are areas are used.enclosing
- optional argument. Used when aggregating systems are simulated. The sectors used by
the previous systems in the aggregate can be used here.Copyright © 2018. All rights reserved.