Class DeadLinkNetworkModel
java.lang.Object
se.sics.kompics.simulator.network.impl.DeadLinkNetworkModel
- All Implemented Interfaces:
NetworkModel
public class DeadLinkNetworkModel extends Object implements NetworkModel
- Author:
- Alex Ormenisan {@literal <[email protected]>}
-
Constructor Summary
Constructors Constructor Description DeadLinkNetworkModel(IdentifierExtractor idE, NetworkModel baseNM, Set<org.javatuples.Pair<Identifier,Identifier>> deadLinks)
-
Method Summary
Modifier and Type Method Description long
getLatencyMs(se.sics.kompics.network.Msg message)
-
Constructor Details
-
DeadLinkNetworkModel
public DeadLinkNetworkModel(IdentifierExtractor idE, NetworkModel baseNM, Set<org.javatuples.Pair<Identifier,Identifier>> deadLinks)- Parameters:
baseNM
-deadLinks
- <hostId, hostId>
-
-
Method Details
-
getLatencyMs
- Specified by:
getLatencyMs
in interfaceNetworkModel
-