Class SeparateFlowAnalysis
- java.lang.Object
-
- org.networkcalculus.dnc.tandem.AbstractTandemAnalysis
-
- org.networkcalculus.dnc.tandem.analyses.SeparateFlowAnalysis
-
- All Implemented Interfaces:
TandemAnalysis
public class SeparateFlowAnalysis extends AbstractTandemAnalysis
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.networkcalculus.dnc.tandem.TandemAnalysis
TandemAnalysis.Analyses
-
-
Field Summary
-
Fields inherited from class org.networkcalculus.dnc.tandem.AbstractTandemAnalysis
configuration, result, server_graph
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SeparateFlowAnalysis()
SeparateFlowAnalysis(ServerGraph server_graph)
SeparateFlowAnalysis(ServerGraph server_graph, AnalysisConfig configuration)
-
Method Summary
Modifier and Type Method Description java.util.Set<ServiceCurve>
getLeftOverServiceCurves()
java.util.Map<Server,java.util.Set<ServiceCurve>>
getServerLeftOverBetasMap()
java.lang.String
getServerLeftOverBetasMapString()
protected java.util.Set<ServiceCurve>
getServiceCurves(Flow flow_of_interest, Path path, java.util.Set<Flow> flows_to_serve)
Deprecated.void
performAnalysis(Flow flow_of_interest)
Performs a separated flow analysis for theflow_of_interest
.void
performAnalysis(Flow flow_of_interest, Path path)
void
performAnalysis(Flow flow_of_interest, Server server)
static SeparateFlowResults
tandemAnalysis(ServerGraph server_graph, Flow flow_of_interest, Path path, java.util.Set<Flow> flows_to_serve, AnalysisConfig configuration)
-
Methods inherited from class org.networkcalculus.dnc.tandem.AbstractTandemAnalysis
getBacklogBound, getDelayBound, getServerAlphasMap, getServerAlphasMapString, getServerGraph, toString
-
-
-
-
Constructor Detail
-
SeparateFlowAnalysis
private SeparateFlowAnalysis()
-
SeparateFlowAnalysis
public SeparateFlowAnalysis(ServerGraph server_graph)
-
SeparateFlowAnalysis
public SeparateFlowAnalysis(ServerGraph server_graph, AnalysisConfig configuration)
-
-
Method Detail
-
performAnalysis
public void performAnalysis(Flow flow_of_interest) throws java.lang.Exception
Performs a separated flow analysis for theflow_of_interest
.This analysis first blends out the flow of interest and then computes for each server along this flow's path the left-over service curve that results if all remaining flows crossing this server receive their maximum amount of service. Then all left-over service curves are concatenated to receive the end-to-end service curve from the perspective of the flow of interest.
- Throws:
java.lang.Exception
-
performAnalysis
public void performAnalysis(Flow flow_of_interest, Server server) throws java.lang.Exception
- Throws:
java.lang.Exception
-
performAnalysis
public void performAnalysis(Flow flow_of_interest, Path path) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getServiceCurves
@Deprecated protected java.util.Set<ServiceCurve> getServiceCurves(Flow flow_of_interest, Path path, java.util.Set<Flow> flows_to_serve) throws java.lang.Exception
Deprecated.- Throws:
java.lang.Exception
-
tandemAnalysis
public static SeparateFlowResults tandemAnalysis(ServerGraph server_graph, Flow flow_of_interest, Path path, java.util.Set<Flow> flows_to_serve, AnalysisConfig configuration) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getLeftOverServiceCurves
public java.util.Set<ServiceCurve> getLeftOverServiceCurves()
-
getServerLeftOverBetasMap
public java.util.Map<Server,java.util.Set<ServiceCurve>> getServerLeftOverBetasMap()
-
getServerLeftOverBetasMapString
public java.lang.String getServerLeftOverBetasMapString()
-
-