Package com.uppaal.model.system.symbolic
Class SymbolicTransition
java.lang.Object
com.uppaal.model.system.AbstractTransition
com.uppaal.model.system.symbolic.SymbolicTransition
public class SymbolicTransition extends AbstractTransition
The class symbolic transition of the system
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SymbolicTransition(SymbolicState source, SystemEdgeSelect[] edges, SymbolicState target)ConstructorSymbolicTransition(SymbolicState source, SystemEdgeSelect[] edges, SymbolicState target, String edgeDescription)Constructor -
Method Summary
Modifier and Type Method Description StringgetEdgeDescription()Get the description of the edgeSymbolicStategetSource()Get the source of the symbolic stateSymbolicStategetTarget()Get the target of the symbolic statebooleaninvolvesProcess(int process)Is the list of selected edges includes the input process?StringtoServerFormat()Convert to format used to send to server.StringtoXTRFormat()Convert to format used in XTR files.StringtraceFormat()Convert to visual format used in simulator.voidwriteXTRFormat(Writer writer)Convert the selected edge of the system to format used in XTR files.Methods inherited from class com.uppaal.model.system.AbstractTransition
getEdge, getEdges, getSize, getTransitionDescription, setEdges
-
Constructor Details
-
SymbolicTransition
Constructor- Parameters:
source- - The source symbolic stateedges- - The list of the selected edgestarget- - The target symbolic state
-
SymbolicTransition
public SymbolicTransition(SymbolicState source, SystemEdgeSelect[] edges, SymbolicState target, String edgeDescription)Constructor- Parameters:
source- - The source symbolic stateedges- - The array of the selected edgetarget- - The target symbolic stateedgeDescription- - The description of the edge
-
-
Method Details
-
traceFormat
Convert to visual format used in simulator.- Returns:
- s - The string includes trace format
-
toServerFormat
Convert to format used to send to server. FIXME: selections values have to be appended (see edge.writeXTRFormat)- Returns:
- buf - The string buffer includes the server format
-
toXTRFormat
Convert to format used in XTR files. FIXME: selections values have to be appended (see edge.writeXTRFormat)- Returns:
- sb - The xtr format string
-
writeXTRFormat
Convert the selected edge of the system to format used in XTR files.- Parameters:
writer- - Writing to character streams- Throws:
IOException
-
getSource
Get the source of the symbolic state- Returns:
- source - The source symbolic state
-
getTarget
Get the target of the symbolic state- Specified by:
getTargetin classAbstractTransition- Returns:
- target - The target symbolic state
-
involvesProcess
public boolean involvesProcess(int process)Is the list of selected edges includes the input process?- Parameters:
process- - The input process- Returns:
- True - The process index of the edge is equal the input process
-
getEdgeDescription
Get the description of the edge- Returns:
- edgeDescription - The description of the edge
-