Class NetworkModels
java.lang.Object
se.sics.kompics.simulator.network.impl.NetworkModels
public class NetworkModels extends Object
- Author:
- Paris Carbone <[email protected]>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
NetworkModels.SelectiveModelBuilder
-
Constructor Summary
Constructors Constructor Description NetworkModels()
-
Method Summary
-
Constructor Details
-
NetworkModels
public NetworkModels()
-
-
Method Details
-
withConstantDelay
-
withUniformRandomDelay
-
withUniformRandomDelay
-
withLoss
-
withLoss
-
withTotalLoss
-
withDeadLinks
public static DeadLinkNetworkModel withDeadLinks(IdentifierExtractor idE, NetworkModel baseNM, Set<org.javatuples.Pair<Identifier,Identifier>> deadLinks) -
withKingLatency
-
withKingLatency
-
withBinaryModel
public static BinaryNetworkModel withBinaryModel(IdentifierExtractor extr, NetworkModel firstNM, NetworkModel secondNM, Set<Identifier> secondModelIDs) -
withDisconnectedModel
public static DisconnectedNodesNetworkModel withDisconnectedModel(IdentifierExtractor extr, NetworkModel firstNM, Set<Identifier> disconnected) -
withSelectiveModel
public static NetworkModels.SelectiveModelBuilder withSelectiveModel(IdentifierExtractor extractor, NetworkModel firstNM) -
withPartitionedModel
public static PartitionedNetworkModel withPartitionedModel(IdentifierExtractor extractor, NetworkModel model, PartitionMapper<Identifier> mapper)
-