Google Groups Home
Help | Sign in
some question
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Lyani  
View profile
 More options 14 May, 07:11
From: Lyani <lyani.sihomb...@gmail.com>
Date: Tue, 13 May 2008 23:11:37 -0700 (PDT)
Local: Wed 14 May 2008 07:11
Subject: some question
hello,

it's written on section B.1 about characteristics of TinyGP, and point
1 said that the terminal is a user-definable number of floating point
variables (named x1 to xn).

is it mean that TinyGP only use variables (one of the terminal set
mentioned on table 3.1) as the terminal?
is it mean TinyGP can't use constant values and 0-arity functions
(also mentioned on table 3.1) as the terminal?
if it is so, is this possible to modify TinyGP so it can use all of
the terminal set mentioned on table 3.1?

thanks,
Lyani


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rp...@essex.ac.uk  
View profile
 More options 20 May, 10:55
From: rp...@essex.ac.uk
Date: Tue, 20 May 2008 02:55:27 -0700 (PDT)
Local: Tues 20 May 2008 10:55
Subject: Re: some question
Hi Lyani,

Tiny GP can use variables and random constants. The first line of the
input data file tells the program how many variables your problem has,
then it tells it how many random constants GP can use, and then it
provides two values that represent the range (min,max) from which the
random constants are drawn. (The final element if the first line is
the number of fitness cases (examples). These follow one after the
other in the remaining lines of the file).

Of course, one could modify TinyGP so that it handles 0-arity
functions. The places where you would need to make changes are the
evaluation procedure (run), the initialisation (grow) and the printing
routing (print_indiv).

I hope this helps.

Riccardo

On 14 May, 07:11, Lyani <lyani.sihomb...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lyani  
View profile
 More options 4 Jun, 11:27
From: Lyani <lyani.sihomb...@gmail.com>
Date: Wed, 4 Jun 2008 03:27:21 -0700 (PDT)
Local: Wed 4 Jun 2008 11:27
Subject: Re: some question
hi,

algorithm 3.1 (page 25) tells about Interpreter for GP, is this
algorithm have any relation with the evaluation procedure (run)?
because it is written (by a comment) that this method is interpreter.
is this algorithm will hep me to make changes the evaluation procedure
(run)?

thank you for helping me learn more clearly,
Lyani

On 20 May, 16:55, rp...@essex.ac.uk wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rp...@essex.ac.uk  
View profile
 More options 5 Jun, 17:11
From: rp...@essex.ac.uk
Date: Thu, 5 Jun 2008 09:11:49 -0700 (PDT)
Local: Thurs 5 Jun 2008 17:11
Subject: Re: some question
Hi,

the run procedure implements a recursive interpreter. It treats every
primitive as a macro, so the primitive must itself invoke the
interpreter (run) if and when necessary. So, it is essentially the
same algorithm as the one you refer to. However, for efficiency
reasons, we keep the code that implements each primitive within the
run procedure. Also, instead of passing expressions via the stack, we
make use of an external variable which constantly points to the
expression that run needs to evaluate. The pointer is updated at the
beginning of the run procedure, so that when run is invoked again
(recursively) it knows where the expression that it needs to interpret
is located.

I hope this helps.

Riccardo

On Jun 4, 11:27 am, Lyani <lyani.sihomb...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google