it is done in netlogo e.g. all I need to do is add a monitor micro-
behaviour and add the name of the attribute i want to display. in
On Aug 28, 3:14 pm, Ken Kahn <
toont...@googlemail.com> wrote:
> Hi.
> This is because NetLogo monitors only run in the observer context. To
> NetLogo's command line you can't run "show my-hour-in-day" and the monitor
> works similarly.
>
> If you make your monitor follow
>
> [my-hour-in-day] of Object 0
>
> instead of
>
> my-hour-in-day
>
> then this works fine. But referring to Object 0 is a bit of a hack (it works
> because Time is the leftmost prototype). It would be better to monitor
>
> [my-hour-in-day] of any-of-kind "Time"
>
> but that runs up against a limitation in the Behaviour Composer's
> implementation of create-monitor, namely the way it handles quoted elements.
> I just posted this as an issue:
http://code.google.com/p/modelling4all/issues/detail?id=309
>
> Perhaps the Behaviour Composer should be changed so that the monitor is
> always "of <the agent who has this micro-behaviour>" so the system converts
> my-hour-in-day automatically.
>
> Best,
>
> -ken
>