<div>Dan,</div>
<div> </div>
<div>Two questions related to this: </div>
<div> </div>
<div>In line with this question, are chunk-types extended during the production compilation process?  </div>
<div> </div>
<div>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?</div>

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