From 8189116ea4b5db4675e31dfd04a5687d55e29262 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Tue, 6 May 2014 14:29:37 +0100 Subject: Added javadocs, made minor changes to the comments --- .../modules/mutator/ProbabilisticMutator.html | 319 +++++++++++++++++++++ 1 file changed, 319 insertions(+) create mode 100644 doc/jcgp/backend/modules/mutator/ProbabilisticMutator.html (limited to 'doc/jcgp/backend/modules/mutator/ProbabilisticMutator.html') diff --git a/doc/jcgp/backend/modules/mutator/ProbabilisticMutator.html b/doc/jcgp/backend/modules/mutator/ProbabilisticMutator.html new file mode 100644 index 0000000..c4e22ae --- /dev/null +++ b/doc/jcgp/backend/modules/mutator/ProbabilisticMutator.html @@ -0,0 +1,319 @@ + + + + + +ProbabilisticMutator + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.mutator
+

Class ProbabilisticMutator

+
+
+ +
+
    +
  • +
    +
    +
    public class ProbabilisticMutator
    +extends Mutator
    +
    Probabilistic mutator +

    + This operator iterates through every mutable gene in the chromosome and + decides whether to mutate each of them individually. + The decision is made based on the difference between the mutation probability + and a randomly generated double between 0 and 100.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    Mutator
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ProbabilisticMutator(Resources resources) +
      Creates a new instance of ProbabilisticMutator.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidmutate(Chromosome chromosome) +
      Applies mutations to the specified chromosome according + to the parameter values.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ProbabilisticMutator

        +
        public ProbabilisticMutator(Resources resources)
        +
        Creates a new instance of ProbabilisticMutator.
        +
        +
        Parameters:
        +
        resources - a reference to the experiment's resources.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        mutate

        +
        public void mutate(Chromosome chromosome)
        +
        Description copied from class: Mutator
        +
        Applies mutations to the specified chromosome according + to the parameter values.
        +
        +
        Specified by:
        +
        mutate in class Mutator
        +
        Parameters:
        +
        chromosome - the chromosome to mutate.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + -- cgit v1.2.3