| Constructor and Description |
|---|
DotProtocol(InputStream in,
OutputStream out) |
| 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) |
GanttChart |
getGanttChart(UppaalSystem system,
BigDecimal globalTime) |
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.
|
char |
query(UppaalSystem system,
String query,
QueryFeedback f)
Verify a query on an instantiated UPPAAL model.
|
char |
query(UppaalSystem system,
SymbolicState state,
String query,
QueryFeedback f) |
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) |
protected void |
write(ConcreteState state,
BigDecimal delay) |
protected void |
write(Object o) |
protected void |
write(String s)
Writes the string to the output stream following by a newline.
|
protected void |
write(SystemEdge[] edges) |
protected void |
write(SystemEdgeSelect[] edges) |
public DotProtocol(InputStream in, OutputStream out)
public void close()
throws IOException
Protocolclose in interface ProtocolIOExceptionpublic SymbolicState getSymbolicInitial(UppaalSystem system) throws EngineException, IOException
ProtocolgetSymbolicInitial in interface ProtocolEngineExceptionIOExceptionpublic ConcreteState getConcreteInitial(UppaalSystem system) throws EngineException, IOException
ProtocolgetConcreteInitial in interface ProtocolEngineExceptionIOExceptionpublic ConcreteSuccessor getConcreteSuccessor(UppaalSystem system, ConcreteState state, SystemEdgeSelect[] edges, BigDecimal currentTime, BigDecimal delay) throws EngineException, IOException
getConcreteSuccessor in interface ProtocolEngineExceptionIOExceptionpublic String getOptionsInfo() throws EngineException, IOException
ProtocolgetOptionsInfo in interface ProtocolEngineExceptionIOExceptionpublic ArrayList<SymbolicTransition> getTransitions(UppaalSystem system, SymbolicState state) throws EngineException, IOException
ProtocolgetTransitions in interface ProtocolEngineExceptionIOExceptionpublic String getVersion() throws IOException, EngineException
ProtocolgetVersion in interface ProtocolIOExceptionEngineExceptionpublic char query(UppaalSystem system, String query, QueryFeedback f) throws EngineException, IOException
Protocolquery in interface ProtocolEngineExceptionIOExceptionpublic char query(UppaalSystem system, SymbolicState state, String query, QueryFeedback f) throws EngineException, IOException
EngineExceptionIOExceptionpublic void setOptions(String options) throws EngineException, IOException
ProtocolsetOptions in interface ProtocolEngineExceptionIOExceptionpublic UppaalSystem upload(Document document, ArrayList<Problem> problems) throws EngineException, IOException
Protocolupload in interface ProtocolEngineExceptionIOExceptionpublic UppaalSystem upload(Document document) throws EngineException, IOException
Protocolupload in interface ProtocolEngineExceptionIOExceptionprotected void write(String s) throws IOException
IOExceptionprotected void write(Object o) throws IOException
IOExceptionprotected void write(BigDecimal value) throws IOException
IOExceptionprotected void write(ConcreteState state, BigDecimal delay) throws IOException
IOExceptionprotected void write(SystemEdge[] edges) throws IOException
IOExceptionprotected void write(SystemEdgeSelect[] edges) throws IOException
IOExceptionprotected void flush()
throws IOException
IOExceptionpublic LscProcess uploadLsc(Document document, ArrayList<Problem> problems) throws EngineException, IOException
uploadLsc in interface ProtocolEngineExceptionIOExceptionpublic GanttChart getGanttChart(UppaalSystem system, BigDecimal globalTime) throws EngineException, IOException
getGanttChart in interface ProtocolEngineExceptionIOExceptionCopyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.