genetic implementation



Hi to all,

if I have a lot of rules like this:

object(name, strength, list of answers).

EXAMPLE:
object(apple, 100, [s(1, y), s(2, n)]).
object(apple, 150, [s(1, n), s(2, y)]).
object(apple, 200, [s(2, n), s(3, n)]).
object(apple, 250, [s(2, n), s(4, y)]).

and I want to make a genetic algorithm that produce new rules I have thought these steps:

- take all the rules with Strength >=X (X is fixed by me, for example 100)
- choose at random (rules with more strength have more probability to be choosen) a couple of rules that will produce two new rules
- choose a K that means that K answers will be exchanged between two rules
- make the mutation in a very small case in


is this a correct implementation in my case?

Thanx
Marco
.



Relevant Pages

  • Re: VP scale for BAM Swiss (or the like)
    ... "The probability that Team A would win by 12 IMPs ...     when playing an equally strong team (i.e., ... all of the teams are very close in strength. ...
    (rec.games.bridge)
  • Re: VP scale for BAM Swiss (or the like)
    ... "The probability that Team A would win by 12 IMPs ... all of the teams are very close in strength. ... the teams are randomly paired up in round 1. ...
    (rec.games.bridge)
  • Re: Torres could be back Boxing day
    ... those draws would have in all probability been wins if he'd ... been playing. ... Yeah, haven't been at full strength for most of the season and yet we've dominated every league match and we're top of the table. ...
    (uk.sport.football.clubs.liverpool)
  • Re: Torres could be back Boxing day
    ... those draws would have in all probability been wins if he'd ... been playing. ... Yeah, haven't been at full strength for most of the season and yet we've ...
    (uk.sport.football.clubs.liverpool)
  • Re: Torres could be back Boxing day
    ... those draws would have in all probability been wins if he'd ... been playing. ... Yeah, haven't been at full strength for most of the season and yet we've dominated every league match and we're top of the table. ...
    (uk.sport.football.clubs.liverpool)