| Constructor and Description |
|---|
DotProtocol(InputStream in,
OutputStream out)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Disconnect from the server.
|
protected void |
flush()
Flushes the output stream.
|
ConcreteState |
getConcreteInitial(UppaalSystem system)
Returns the concrete initial state for the system.
|
ConcreteSuccessor |
getConcreteSuccessor(UppaalSystem system,
ConcreteState state,
SystemEdgeSelect[] edges,
BigDecimal currentTime,
BigDecimal delay)
Get the concrete simulation successor
|
GanttChart |
getGanttChart(UppaalSystem system,
BigDecimal globalTime)
Get the gantt chart
|
String |
getOptionsInfo()
Returns information about available options.
|
SymbolicState |
getSymbolicInitial(UppaalSystem system)
Returns the symbolic initial state for the system.
|
ArrayList<SymbolicTransition> |
getTransitions(UppaalSystem system,
SymbolicState state)
Returns the list of outgoing transitions for the state.
|
String |
getVersion()
Returns the version string of the server.
|
QueryVerificationResult |
query(UppaalSystem system,
Query query,
QueryFeedback f)
Write the query data to the server
|
void |
setOptions(String options)
Sets server options used for verification.
|
UppaalSystem |
upload(Document document)
Upload the document to the server.
|
UppaalSystem |
upload(Document document,
ArrayList<Problem> problems)
Upload the document to the server.
|
LscProcess |
uploadLsc(Document document,
ArrayList<Problem> problems) |
protected void |
write(BigDecimal value)
Writes the value to the output stream following by a new line
|
protected void |
write(ConcreteState state,
BigDecimal delay)
Writes the concrete state in the system to the output stream.
|
protected void |
write(Object o)
Writes the object to the output stream following by a newline.
|
protected void |
write(String s)
Writes the string to the output stream following by a newline.
|
protected void |
write(SystemEdge[] edges)
Writes the list of the edges to the output stream
|
protected void |
write(SystemEdgeSelect[] edges)
Writes the list of the selected edges to the output stream
|
public DotProtocol(InputStream in, OutputStream out)
in - - The input streamout - - The output streampublic void close()
throws IOException
Protocolclose in interface ProtocolIOException - engine crash or problem in communication.public SymbolicState getSymbolicInitial(UppaalSystem system) throws EngineException, IOException, CannotEvaluateException
ProtocolgetSymbolicInitial in interface Protocolsystem - the compiled Uppaal system representation.EngineException - error in the server protocol.IOException - I/O communication error.CannotEvaluateException - some expression could not be evaluated.public ConcreteState getConcreteInitial(UppaalSystem system) throws EngineException, IOException, CannotEvaluateException
ProtocolgetConcreteInitial in interface Protocolsystem - the compiled Uppaal system representation.EngineException - error in the server protocol.IOException - I/O communication error.CannotEvaluateException - some expression could not be evaluated.public ConcreteSuccessor getConcreteSuccessor(UppaalSystem system, ConcreteState state, SystemEdgeSelect[] edges, BigDecimal currentTime, BigDecimal delay) throws EngineException, IOException, CannotEvaluateException
ProtocolgetConcreteSuccessor in interface Protocolsystem - - The uppaal systemstate - - The concrete simulator stateedges - - The vector of the selected system edgescurrentTime - - the current simulation timedelay - - The delay timeEngineException - error in the server protocol.IOException - I/O communication error.CannotEvaluateException - some expression could not be evaluated.public String getOptionsInfo() throws EngineException, IOException
ProtocolgetOptionsInfo in interface ProtocolEngineException - problem in the Uppaal engine.IOException - engine crash or problem in communication.public ArrayList<SymbolicTransition> getTransitions(UppaalSystem system, SymbolicState state) throws EngineException, IOException, CannotEvaluateException
ProtocolgetTransitions in interface Protocolsystem - - The uppaal systemstate - - The symbolic state of the systemEngineException - error in the server protocol.IOException - I/O communication error.CannotEvaluateException - some expression could not be evaluated.public String getVersion() throws IOException, EngineException
ProtocolgetVersion in interface ProtocolIOException - engine crash or problem in communication.EngineException - problem in the Uppaal engine.public QueryVerificationResult query(UppaalSystem system, Query query, QueryFeedback f) throws EngineException, IOException
query in interface Protocolsystem - - The Uppaal systemquery - - The query stringf - - The feedback char: 'T'/'M'/'E'EngineException - problem in Uppaal engine.IOException - engine crash or problem in communication.public void setOptions(String options) throws EngineException, IOException
ProtocolsetOptions in interface Protocoloptions - - The options stringEngineException - problem in the Uppaal engine.IOException - engine crash or problem in communication.public UppaalSystem upload(Document document, ArrayList<Problem> problems) throws EngineException, IOException
Protocolupload in interface Protocoldocument - - The system documentproblems - - The problem array listEngineException - error in the server protocol.IOException - I/O communication error.public UppaalSystem upload(Document document) throws EngineException, IOException
Protocolupload in interface Protocoldocument - - The system documentEngineException - error in the server protocol.IOException - I/O communication error.protected void write(String s) throws IOException
s - - The input stringIOException - engine crash or problem in communication.protected void write(Object o) throws IOException
o - - The objectIOException - engine crash or problem in communication.protected void write(BigDecimal value) throws IOException
value - - The valueIOException - engine crash or problem in communication.protected void write(ConcreteState state, BigDecimal delay) throws IOException
state - - The concrete state in the systemdelay - - The delay timeIOException - engine crash or problem in communication.protected void write(SystemEdge[] edges) throws IOException
edges - - The list of the edgesIOException - engine crash or problem in communication.protected void write(SystemEdgeSelect[] edges) throws IOException
edges - - The list of the selected edgesIOException - engine crash or problem in communication.protected void flush()
throws IOException
IOException - engine crash or problem in communication.public LscProcess uploadLsc(Document document, ArrayList<Problem> problems) throws EngineException, IOException
uploadLsc in interface ProtocolEngineExceptionIOExceptionpublic GanttChart getGanttChart(UppaalSystem system, BigDecimal globalTime) throws EngineException, IOException
ProtocolgetGanttChart in interface Protocolsystem - - The uppaal systemglobalTime - - The global timeEngineException - error in the server protocol.IOException - I/O communication error.Copyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.