Server messages have the following form:
session-init | ::= | <session-init> | ||
<sessionID> integer </sessionID> | ||||
<setting> | ||||
<rounds> integer </rounds> | ||||
<allowed-time> integer </allowed-time> | ||||
<allowed-turns> integer </allowed-turns> | ||||
</setting> | ||||
</session-init> | ||||
round-init | ::= | <round-init> | ||
<round> integer </round> | ||||
<sessionID> integer </sessionID> | ||||
<time-left> integer </time-left> | ||||
<rounds-left> integer </rounds-left> | ||||
</round-init> | ||||
turn-response | ::= | state | end-round | ||
end-round | ::= | <end-round> | ||
state [<goal-reached/>] | ||||
<time-spent> integer </time-spent> | ||||
<turns-used> integer </turns-used> | ||||
</end-round> | ||||
state | ::= | <state> [<is-goal/>] atom* fluent* </state> | ||
atom | ::= | <atom> predicate term* </atom> | ||
fluent | ::= | <fluent> function term* value </fluent> | ||
predicate | ::= | <predicate> name </predicate> | ||
function | ::= | <function> name </function> | ||
term | ::= | <term> name </term> | ||
value | ::= | <value> number </value> | ||
end-session | ::= | <end-session> | ||
<sessionID> integer </sessionID> | ||||
<problem> name </problem> | ||||
<rounds> integer </rounds> | ||||
<goals> | ||||
<failed> integer </failed> | ||||
<reached> | ||||
<successes> integer </successes> | ||||
[<time-average> number </time-average>] | ||||
</reached> | ||||
</goals> | ||||
[<metric-average> number </metric-average>] | ||||
</end-session> | ||||
error | ::= | <error> message </error> |
Håkan L. S. Younes