Class JmtEdgeBreakagesIterator
java.lang.Object
jsimgraph.JGraphMod.JmtEdgeBreakagesIterator
Title: JmtEdgeBreakagesIterator
Description: Stores the identifiers for broken arcs
- Author:
- Emma Bortone Date: 13-feb-2020 Time: 13.33.00
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the identifier letter for a given connection and a given breakage in that connectionintgetNumberAttributedTo(Object sourceKey, Object targetKey) voidRemoves all the attributed letters for the connection identified by sourceKey and targetKeyvoidremoveLast(Object sourceKey, Object targetKey) Removes one attributed letter for the connection identified by sourceKey and targetKey
-
Constructor Details
-
JmtEdgeBreakagesIterator
public JmtEdgeBreakagesIterator()
-
-
Method Details
-
getLetter
Returns the identifier letter for a given connection and a given breakage in that connection- Parameters:
sourceKey- : key of the source station of the connectiontargetKey- : key of the target station of the connectionbreakIndex- : index of the breakage in this connection- Returns:
- identifier letter for a given connection and a given breakage in that connection
-
removeLast
-
getNumberAttributedTo
-
removeAll
-