Package | Description |
---|---|
com.net2plan.libraries |
Provides a set of useful libraries to develop algorithms and reports.
|
com.net2plan.utils |
General utility static methods.
|
Modifier and Type | Method and Description |
---|---|
static Quadruple<DoubleMatrix2D,DoubleMatrix2D,DoubleMatrix1D,DoubleMatrix1D> |
IPUtils.computeCarriedTrafficFromIGPWeights(NetPlan netPlan,
DoubleMatrix1D linkWeightVector,
NetworkLayer... optionalLayer)
Computes the resulting carried traffic according to a link weight setting
and OSPF/ECMP routing.
|
static Quadruple<DoubleMatrix2D,DoubleMatrix1D,DoubleMatrix1D,List<Constants.RoutingCycleType>> |
GraphUtils.convert_fde2xde(int numNodes,
List<Link> links,
SortedSet<Demand> demandsToConvert,
DoubleMatrix1D h_d,
DoubleMatrix2D f_de)
Given a forwarding rule mapping (fractions of traffic entering a node from demand 'd', leaving that node through link 'e'), and an offered traffic to the network,
it generates the resulting demand-link routing in the form x_de (amount of traffic from demand d, transmitted through link e).
|
static Quadruple<DoubleMatrix2D,DoubleMatrix1D,DoubleMatrix1D,List<Constants.RoutingCycleType>> |
GraphUtils.convert_fte2xde(int numNodes,
int numDemandsInLayer,
List<Link> links,
SortedSet<Demand> demandsToConvert,
DoubleMatrix2D f_te)
Given a destination-based routing in the form f_te (fractions of traffic in a node, that is forwarded through each of its output links), and an offered traffic to the network, it generates the resulting demand-link routing in the form x_de (amount of traffic from demand d, transmitted through link e).
|
Modifier and Type | Method and Description |
---|---|
static List<Quadruple<Map<String,double[]>,Double,Map<String,double[]>,Double>> |
OpticalImpairmentUtils.computeImpairments(List<Quadruple<Double,String,Double,String>> linkElements,
Map<String,double[]> spectrumParameters,
Map<String,Map<String,Double>> fibersParameters,
double oadm_perChannelOutputPower_W,
double fiber_PMD_ps_per_sqroot_km,
double edfa_PMD,
double pc_PMD,
double oadm_muxDemuxPMD_ps,
double oadm_preAmplifierPMD_ps,
double oadm_boosterPMD_ps,
double[] frequenciesPerChannel_THz,
double centralFrequency_THz,
double tp_inputPowerSensitivityMin_dBm,
double tp_inputPowerSensitivityMax_dBm)
Computes OSNRs and power per channel with the GN formula and PMD according to Net2Plan calculations.
|
Modifier and Type | Method and Description |
---|---|
static List<Quadruple<Map<String,double[]>,Double,Map<String,double[]>,Double>> |
OpticalImpairmentUtils.computeImpairments(List<Quadruple<Double,String,Double,String>> linkElements,
Map<String,double[]> spectrumParameters,
Map<String,Map<String,Double>> fibersParameters,
double oadm_perChannelOutputPower_W,
double fiber_PMD_ps_per_sqroot_km,
double edfa_PMD,
double pc_PMD,
double oadm_muxDemuxPMD_ps,
double oadm_preAmplifierPMD_ps,
double oadm_boosterPMD_ps,
double[] frequenciesPerChannel_THz,
double centralFrequency_THz,
double tp_inputPowerSensitivityMin_dBm,
double tp_inputPowerSensitivityMax_dBm)
Computes OSNRs and power per channel with the GN formula and PMD according to Net2Plan calculations.
|
Modifier and Type | Method and Description |
---|---|
static <A,B,C,D> Quadruple<A,B,C,D> |
Quadruple.of(A a,
B b,
C c,
D d)
This factory allows a quadruple to be created using inference to obtain the generic types.
|
static <A,B,C,D> Quadruple<A,B,C,D> |
Quadruple.unmodifiableOf(A a,
B b,
C c,
D d)
This factory allows an unmodifiable pair to be created using inference to obtain the generic types.
|
Copyright © 2018. All rights reserved.