Skip to content
Snippets Groups Projects
Commit a06e1572 authored by Bardhyl Miftari's avatar Bardhyl Miftari
Browse files

identifiers nowrap centered

parent 29f1f605
No related branches found
No related tags found
No related merge requests found
Pipeline #14600 passed
......@@ -4,12 +4,9 @@ Identifiers
Identifiers are used to name different kinds of language objects such as nodes, hyperedges or variables. Identifiers may contain letters, numbers, underscores, and dollar signs but must begin with a letter or an underscore.
Accordingly, the following identifiers are all valid,
.. math::
:nowrap:
.. centered::
\begin{align*}
\texttt{mynode1}, \qquad \texttt{_SolarPlant_2}, \qquad \texttt{HydroStorage_a}.
\end{align*}
``mynode1``, \qquad ``_SolarPlant_2``, \qquad ``HydroStorage_a``.
Besides these lexical requirements, identifiers must also be unique in their respective scope. Hence, no two nodes may have the same identifier since this would prohibit the unambiguous identification of a particular node.
Similarly, variables and parameters may not have the same identifier as a node or other variables and parameters belonging to the same node.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment