[Push] MinRandomInteger > MaxRandomInteger

Lee Spector lspector at hampshire.edu
Tue Jun 22 07:04:06 EDT 2010


Thanks Ed -- these are helpful, and should be incorporated into some new documentation that we are beginning to put together.

 -Lee

On Jun 22, 2010, at 5:33 AM, PerPlex Ed wrote:

> Another consequence of this - that should be in the specification - is that 
> 
> executing Code.Rand when MaxPointsInRandomExpression is negative (and nothing in the specification prevents that configuration variable from assuming a negative value) will cause an atomic instruction to be pushed (just like if the the value was 1).
> 
> "atomic instruction" is the name I use for all instructions exclusive of the Sequence instruction.
> 
> I'm not trying to be pedantic. This kind of messages typically arise from some crash when I run randomly generated Push code.
> 
> 
> Lee said:
> 
>> On the latter: it appears to act as if the argument was positive and then negate the result.
> 
> 
> 
> 
> _______________________________________________
> Push mailing list
> Push at lists.hampshire.edu
> https://lists.hampshire.edu/mailman/listinfo/push

--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspector at hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438

Check out Genetic Programming and Evolvable Machines:
http://www.springer.com/10710 - http://gpemjournal.blogspot.com/



More information about the Push mailing list