-
Notifications
You must be signed in to change notification settings - Fork 11
Description
In smglom/ai/source/mod/model-based-agent.en.tex, we have
\begin{extstructure}{MBA}[model-based agent]{agent}
\begin{copymodule}{transsys}{transsys}
\assign{actions}{\sn{agent?action}}
\renamedecl{tm}[transition model]{tm}
\renamedecl{states}[state]{states}
\end{copymodule}
\symdef{sensmod}[args=2,name=sensor model]{\maincomp{S}\dobrackets{#1,#2}}
...
And this is almost what we need. Remember that an agent (from smglom/ai/source/mod/agent.en.tex)
\begin{mathstructure}{agent}
\symdef{percepts}[name=percept]{\comp{\mathcal{P}}}
\symdef{actions}[name=action]{\comp{\mathcal{A}}}
\symdef{agentfun}[args=a,name=agent function]{\maincomp{f}\dobrackets{#1}}
\notation{agent}{A}
...
has percepts, actions, and an agent function (from percept sequences to actions) to which we want to add world states and how they change wrt. to actions.
For this construction we want to identify the actions of the agent and those of the transition system.
Unfortunately, the \assign{actions}{\sn{agent?action}} above does not do that, it just maps one to the other, but we still have two symbols: agent?action and transsys?action which creates spurious ambiguities (literally hundreds in the AI notes) down the line.
I do not think that this is a feature as Dennis claims. In the context of a Model-based agent there should be only one symbol! I believe that this should be an sTeX morphisms requirement.
cc: @McEarl