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.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 |
---|---|
Set<SharedRiskGroup> |
Route.getSRGs()
Returns the SRGs the route is affected by (any traversed node or link is in the SRG)
|
Set<SharedRiskGroup> |
ProtectionSegment.getSRGs()
Returns the set of SRGs the that affect this protection segment.
|
Set<SharedRiskGroup> |
Node.getSRGs()
Returns the set of shared risk groups (SRGs) this node belongs to.
|
List<SharedRiskGroup> |
NetPlan.getSRGs()
Returns the array of shared risk groups (i-th position, corresponds to index i).
|
Set<SharedRiskGroup> |
MulticastTree.getSRGs()
Returns the
SharedRiskGroups (SRGs) the multicast tree is affected by. |
Set<SharedRiskGroup> |
Link.getSRGs()
Returns the Shared Risk Groups (
SRGs ) the link belongs to. |
Modifier and Type | Method and Description |
---|---|
static List<Set<SharedRiskGroup>> |
SRGUtils.enumerateFailureStates(Collection<SharedRiskGroup> srgs,
boolean considerNoFailureState,
boolean considerDoubleFailureStates)
Returns the set of SRGs going down on each failure state.
|
static Set<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<Set<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).
|