[ACT-R-users] ACT-R-users Digest, Vol 36, Issue 1

Karri Peterson karri.peterson at gmail.com
Tue Jul 1 12:30:29 EDT 2008


Dan,

Two questions related to this:

In line with this question, are chunk-types extended during the production
compilation process?

I am still learning about the production compilation process but I am
assuming it can't use dynamic pattern matching functionality (or can it?)
because of the rules regarding buffers necessary for production compilation
to take place.  Is this correct?

Karri Peterson

On Tue, Jul 1, 2008 at 11:00 AM, <act-r-users-request at act-r.psy.cmu.edu>
wrote:

> Send ACT-R-users mailing list submissions to
>        act-r-users at act-r.psy.cmu.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://act-r.psy.cmu.edu/mailman/listinfo/act-r-users
> or, via email, send a message with subject or body 'help' to
>        act-r-users-request at act-r.psy.cmu.edu
>
> You can reach the person managing the list at
>        act-r-users-owner at act-r.psy.cmu.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ACT-R-users digest..."
>
>
> Today's Topics:
>
>   1. Extending chunk types (Chris Sims)
>   2. Re: Extending chunk types (Dan Bothell)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 30 Jun 2008 14:43:48 -0400
> From: Chris Sims <simsc at rpi.edu>
> Subject: [ACT-R-users] Extending chunk types
> To: act-r-users at act-r.psy.cmu.edu
> Message-ID: <62EE4E0F-62E8-4FE7-877F-02EBAA55B9E9 at rpi.edu>
> Content-Type: text/plain; charset="us-ascii"
>
>
> The dynamic pattern matching functionality in ACT-R 6 allows one to
> dynamically extend the chunk-type of chunks currently stored in the
> buffers, for example:
>
> (P* sample-production
>    =goal>
>       ISA goal-chunk
>       state =state-name
>    ==>
>    =goal>
>       =state-name 42)
>
> What I am wondering is:  Is there a way to achieve the same thing
> (dynamically extending a chunk type) when *creating* chunks on the
> right hand side of a production? For example:
>
> (P* sample-production-2
>    =goal>
>       ISA goal-chunk
>       state =state-name
>    ==>
>    +other-module>
>       ISA other-chunk-type
>       =state-name 42)
>
> If I try and run a model containing a production like the above, I
> get the error:
> #|Warning: Invalid slot-name [_____] in call to define-chunk-spec. |#
>
> Is there a way to allow this in ACT-R 6?
>
> Thanks,
> -Chris Sims
>
> --
> Chris R. Sims
> Doctoral Student, Department of Cognitive Science
> Rensselaer Polytechnic Institute
> Troy, NY 12180
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://act-r.psy.cmu.edu/pipermail/act-r-users/attachments/20080630/518ea0ea/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Mon, 30 Jun 2008 15:13:00 -0400
> From: Dan Bothell <db30 at andrew.cmu.edu>
> Subject: Re: [ACT-R-users] Extending chunk types
> To: act-r-users at act-r.psy.cmu.edu
> Cc: Chris Sims <simsc at rpi.edu>
> Message-ID: <E769B4BF30F36A99585CD476 at DHL8KLC1.psy.cmu.edu>
> Content-Type: text/plain; charset=iso-8859-1; format=flowed
>
>
>
> --On Monday, June 30, 2008 2:43 PM -0400 Chris Sims <simsc at rpi.edu> wrote:
>
> >
> >
> > The dynamic pattern matching functionality in ACT-R 6 allows one to
> > dynamically extend the chunk-type of chunks currently stored in the
> > buffers, for example:
> >
> >
> > (P* sample-production
> > ?? =goal>
> > ?? ? ?ISA goal-chunk
> > ?? ? ?state =state-name
> > ?? ==>
> > ?? =goal>
> > ?? ? ?=state-name 42)
> >
> >
> > What I am wondering is: ?Is there a way to achieve the same thing
> > (dynamically extending a chunk type) when *creating* chunks on the right
> > hand side of a production? For example:
> >
> >
> >
> > (P* sample-production-2
> > ?? =goal>
> > ?? ? ?ISA goal-chunk
> > ?? ? ?state =state-name
> > ?? ==>
> > ?? +other-module>
> > ?? ? ?ISA other-chunk-type
> > ?? ? ?=state-name 42)
> >
> >
> > If I try and run a model containing a production like the above, I get
> > the error:
> >#| Warning: Invalid slot-name [_____] in call to define-chunk-spec. |#
> >
> >
> > Is there a way to allow this in ACT-R 6?
> >
> >
>
> Not using a request - at least not directly.  However, you could engineer
> a module that could do such a thing using the request parameters.  If
> you specify the buffer with some request parameters then you could do
> something like this:
>
>  (P* sample-production-2
>  ?? =goal>
>  ?? ? ?ISA goal-chunk
>  ?? ? ?state =state-name
>  ?? ==>
>  ?? +other-module>
>  ?? ? ?ISA other-chunk-type
>  ?? ? ?:slot-name =state-name
>       :slot-value 42)
>
> Then in the module's request function you'd have to pull out the
> values for the request parameters, check whether they were valid
> slots, if not extend the chunk-type, then create the chunk as
> needed.
>
> Dan
>
>
>
> ------------------------------
>
> _______________________________________________
> ACT-R-users mailing list
> ACT-R-users at act-r.psy.cmu.edu
> http://act-r.psy.cmu.edu/mailman/listinfo/act-r-users
>
>
> End of ACT-R-users Digest, Vol 36, Issue 1
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.srv.cs.cmu.edu/pipermail/act-r-users/attachments/20080701/0b215fda/attachment.html>


More information about the ACT-R-users mailing list