Package | Description |
---|---|
com.net2plan.interfaces.networkDesign |
Provides a set of classes and interfaces for the network design tool.
|
com.net2plan.libraries |
Provides a set of useful libraries to develop algorithms and reports.
|
Modifier and Type | Method and Description |
---|---|
SharedRiskGroup |
NetPlan.addSRG(double mttfInHours,
double mttrInHours,
Map<String,String> attributes)
Adds a new SRG.
|
SharedRiskGroup |
NetPlan.addSRGDynamic(double mttfInHours,
double mttrInHours,
String className,
String dynamicInitializationString,
Map<String,String> attributes)
Adds a new dynamic SRG.
|
static SharedRiskGroup |
SharedRiskGroup.getDummyEmptyStaticSrg(NetPlan np) |
SharedRiskGroup |
NetPlan.getSRG(int index)
Returns the shared risk group with the given index
|
SharedRiskGroup |
NetPlan.getSRGFromId(long uid)
Returns the shared risk group with the given unique identifier.
|
Modifier and Type | Method and Description |
---|---|
static SortedSet<SharedRiskGroup> |
SharedRiskGroup.getSrgListCompletedWithDummyNoFailureStateIfNeeded(Collection<SharedRiskGroup> sourceSrgs,
NetPlan np) |
List<SharedRiskGroup> |
NetPlan.getSRGs()
Returns the array of shared risk groups (i-th position, corresponds to index i).
|
SortedSet<SharedRiskGroup> |
Link.getSRGs()
Returns the Shared Risk Groups (
SRGs ) the link belongs to. |
Set<SharedRiskGroup> |
MulticastTree.getSRGs()
Returns the
SharedRiskGroups (SRGs) the multicast tree is affected by. |
SortedSet<SharedRiskGroup> |
Route.getSRGs()
Returns the SRGs the route is affected by (any traversed node or link is in the SRG)
|
SortedSet<SharedRiskGroup> |
Node.getSRGs()
Returns the set of shared risk groups (SRGs) this node belongs to.
|
SortedSet<SharedRiskGroup> |
NetPlan.getSrgsDynamic()
Returns the set of Srgs that are dynamically calculated
|
SortedSet<SharedRiskGroup> |
NetPlan.getTaggedSrgs(String tag)
Returns the set of SRGs with the given tag.
|
Modifier and Type | Method and Description |
---|---|
static SortedSet<SharedRiskGroup> |
SharedRiskGroup.getSrgListCompletedWithDummyNoFailureStateIfNeeded(Collection<SharedRiskGroup> sourceSrgs,
NetPlan np) |
Modifier and Type | Method and Description |
---|---|
static List<SortedSet<SharedRiskGroup>> |
SRGUtils.enumerateFailureStates(Collection<SharedRiskGroup> srgs,
boolean considerNoFailureState,
boolean considerDoubleFailureStates)
Returns the set of SRGs going down on each failure state.
|
static SortedSet<SharedRiskGroup> |
SRGUtils.getAffectingSRGs(Collection<Link> links)
Returns a set of SRGs that are affecting the given links.
|
Modifier and Type | Method and Description |
---|---|
static List<SortedSet<SharedRiskGroup>> |
SRGUtils.enumerateFailureStates(Collection<SharedRiskGroup> srgs,
boolean considerNoFailureState,
boolean considerDoubleFailureStates)
Returns the set of SRGs going down on each failure state.
|
static DoubleMatrix2D |
SRGUtils.getMatrixFailureState2SRG(Collection<SharedRiskGroup> srgs,
boolean considerNoFailureState,
boolean considerDoubleFailureStates)
Returns a matrix indicating the SRGs going down (columns) on each failure state (rows).
|
static DoubleMatrix2D |
SRGUtils.getMatrixFailureStates2SRG(Collection<SharedRiskGroup> srgs,
boolean considerNoFailureState,
boolean considerDoubleFailureStates)
Returns a matrix indicating the SRGs going down (columns) on each failure state (rows).
|
Copyright © 2018. All rights reserved.