Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7924277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T17:40:58+00:00 2026-06-03T17:40:58+00:00

What are the advantages and disadvantages to explicitly defining constants within the memory register,

  • 0

What are the advantages and disadvantages to explicitly defining constants within the memory register, as opposed to initially seeding individuals with constants and mutating them through genetic operators ?

Specifically, reading this from a book I have on Linear Genetic Programming:

In our implementation all registers hold floating-point values. Internally,
constants are stored in registers that are write-protected, i.e., may not become
destination registers. As a consequence, the set of possible constants
remains fixed.

What I am wondering is, is this a better approach than simply initially randomly generating the constants and integrating them into the program, and then improving upon them through the training process.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T17:41:00+00:00Added an answer on June 3, 2026 at 5:41 pm

    From your use of the term memory register I’m going to assume you are referring to a memory enhanced genetic programming technique.

    Even with memory registers it isn’t normal to use constants. Instead, a technique like Memory with memory in genetic programming can allow you to mutate your memory registers slowly instead of making abrupt changes that make the memory irrelevant. Still, it is common to introduce the values with random initialization so you can do random restarts to attempt to escape local optimums.

    Perhaps you are thinking of setting all the memory registers to zero or some human estimated values?

    EDIT:

    It sounds like they have some values they wish to carry through all generations unmodified. Personally, that would think that kind of value is better represented by the environment your GA lives in, assuming they are shared across all instances.

    IF they are not shared across instances, then this may reflect an intention to seed the population with some random values in setup which should not be allowed to evolve (at least, not during a given run).

    The first type of constant (the environment constant) can be useful if you need to evolve against a complex background and you want to get good fit against a fixed environment first before trying to get a good fit for the more complex case of variable environments.

    The second kind of constant (per DNA instance) isn’t something I have used, but I guess if the analyst has identified some “volatile” variables that are too chaotic to allow continuous evolution it might be useful to “protect” them as constants for a run.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What is the difference (advantages / disadvantages of both of them) between OracleCachedRowSet and
What are the advantages/disadvantages in placing a lengthy network access code in a thread
What are the advantages/disadvantages of Option 2 over 1 in this example? Option 1
Can somebody explain the main differences between (advantages / disadvantages) the two implementations? For
How can I use std::shared_ptr for array of double? Additionally what are advantages/disadvantages of
What advantages and disadvantages using nginx+Apache+mod_wsgi vs nginx+uWSGI(vurtualenv) in production Advantages of first variant
What are the advantages and disadvantages of using one instead of the other in
Are there any advantages or disadvantages to using multiple assignment in a statement? In
While evaluating the advantages and disadvantages of moving our Subversion-based repository over to Git,
What are the advantages and disadvantages of storing an image as a blob in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.