random production fring

Dieter Wallach wallachd at ubaclu.unibas.ch
Tue Mar 9 04:13:22 EST 1999


--------------D390BAD4422AA5B9040FAA16
Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator
="4D4F5353"
Content-Transfer-Encoding: 7bit

> Jim Davies wrote:
>
> > I have 2 productions that I want to fire at random. That is, approximately
> > 50% of the time p1 fires, and 50% of the time p2 fires.
> >
>

Another possibility is to set the flag :er to T as specified in the
manual, i.e.:

Enable Randomness
keyword:  ER default value:  NIL
If enabled, ties among instantiations are broken randomly, rather than
according to some unspecified but deterministic order.


_______________________________________________
_______________________________________________
 Dr. Dieter Wallach
 Institut fuer Psychologie
 Universitaet Basel
 Bernoullistr. 16
 CH-4056 Basel
_______________________________________________
 WWW: www.unibas.ch/psycho/kognitiv/wallach.htm
 Email: wallachd at ubaclu.unibas.ch
 Tel: ++41 - 61 267 3525
 Fax: ++41 - 61 267 3526
_______________________________________________


--------------D390BAD4422AA5B9040FAA16
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>

<blockquote TYPE=CITE>
<pre>Jim Davies wrote:

> I have 2 productions that I want to fire at random. That is, approximately
> 50% of the time p1 fires, and 50% of the time p2 fires.
></pre>
</blockquote>

<p><br>Another possibility is to set the flag :er to T as specified in
the manual, i.e.:
<p>Enable Randomness
<br>keyword:  ER default value:  NIL
<br>If enabled, ties among instantiations are broken randomly, rather than
according to some unspecified but deterministic order.
<br> 
<p>_______________________________________________
<br>_______________________________________________
<br> Dr. Dieter Wallach
<br> Institut fuer Psychologie
<br> Universitaet Basel
<br> Bernoullistr. 16
<br> CH-4056 Basel
<br>_______________________________________________
<br> WWW: www.unibas.ch/psycho/kognitiv/wallach.htm
<br> Email: wallachd at ubaclu.unibas.ch
<br> Tel: ++41 - 61 267 3525
<br> Fax: ++41 - 61 267 3526
<br>_______________________________________________
<br> </html>

--------------D390BAD4422AA5B9040FAA16--




More information about the ACT-R-users mailing list