<nycs> <component id="name of the LHG"> list of variables list of locations list of transitions </component> </nycs>More specifically:
<param name="variable_name" />Every variable must be declared before its use.
<location id="loc_id" name="loc_name"> <flow> convex polyhedron on primed variables </flow> <invariant> polyhedron on unprimed variables </invariant> </location>Attributes id and name are used to identify the location. If an invariant is not specified, its value is set to "true". Every location has to be declared before its transitions.
<transition source="source_location_id" target="target_location_id" > <contr>true or false</contr> <guard>polyhedron on unprimed variables </guard> <assignment>convex polyhedron on primed and unprimed variables</assignment> </transition >Attributes source and target contain the IDs of the source and target location, respectively. Moreover:
x'
is not mentioned,
the constraint x' == x
is automatically added.Notice: XML requires characters <, >, and & to be encoded as "<", ">", and "&", respectively. Scripts txt2xml.sh and xml2txt.sh in the bin folder help convert between simple text and XML.
Example of a model file: