public interface SimulationInstance
SystemPlugin
that describes how a
simulation should be performed.Modifier and Type | Method and Description |
---|---|
List<Victim> |
getResultingVictims(VictimResultCollector vCollector)
This method allows the victim system to prune its generated
Victim s. |
void |
interferedVictimSimulation(EventResult eventResult)
The interference engine will adjust all victims by their total interference
(unwanted and blocking) and then call this method.
|
void |
interferingSystemSimulation(EventResult eventResult,
InterferenceLink link,
Point2D position)
For the given
InterferenceLink let the interfering system simulate. |
void |
interferingSystemSimulation(EventResult eventResult,
InterferenceLink link,
Point2D position,
LinkResult positionFromCoLocation)
Will be called with Interference Link is co-Located.
|
void |
postEvent(EventResult eventResult)
Called for the victim system to allow final adjustments
on the results before EPP invocation.
|
void |
victimSimulation(VictimResultCollector collector)
When the owning
SystemPlugin is configured
as a victim system this method will be invoked by
the simulation engine for each snapshot. |
void victimSimulation(VictimResultCollector collector)
SystemPlugin
is configured
as a victim system this method will be invoked by
the simulation engine for each snapshot.collector
- collector for collecting the victim resultsvoid interferingSystemSimulation(EventResult eventResult, InterferenceLink link, Point2D position)
InterferenceLink
let the interfering system simulate.
This is run after the victim system has simulated so the event result will
contain the victim results in the VictimResultCollector
. The
interfering system can find its corresponding InterfererResultCollector
from the event result eventResult.getInterferingSystemResult(link)
.eventResult
- the event results as they are currentlylink
- interference link of this interfering systemposition
- the position of the interfering systemvoid interferingSystemSimulation(EventResult eventResult, InterferenceLink link, Point2D position, LinkResult positionFromCoLocation)
eventResult
- the event results as they are currentlylink
- interference link of this interfering systemposition
- the position of the interfering systempositionFromCoLocation
- position from co-located part plus the co-location deltavoid interferedVictimSimulation(EventResult eventResult)
eventResult
- the current event resultList<Victim> getResultingVictims(VictimResultCollector vCollector)
Victim
s.vCollector
- the victim system collected resultsVictim
s that should be used for calculating the resulting interferencevoid postEvent(EventResult eventResult)
eventResult
- the event result producedCopyright © 2018. All rights reserved.