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 --- doc/jcgp/backend/statistics/RunEntry.html | 354 ++++++++++++++++++++++++++++++ 1 file changed, 354 insertions(+) create mode 100644 doc/jcgp/backend/statistics/RunEntry.html (limited to 'doc/jcgp/backend/statistics/RunEntry.html') diff --git a/doc/jcgp/backend/statistics/RunEntry.html b/doc/jcgp/backend/statistics/RunEntry.html new file mode 100644 index 0000000..102e331 --- /dev/null +++ b/doc/jcgp/backend/statistics/RunEntry.html @@ -0,0 +1,354 @@ + + + + + +RunEntry + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.statistics
+

Class RunEntry

+
+
+ +
+
    +
  • +
    +
    +
    public class RunEntry
    +extends java.lang.Object
    +
    This class encapsulates the data contained in a log entry. +

    + Once constructed, data can only be retrieved. Note that + the generation argument in the constructor (and consequently + the value returned by getGeneration() refer to the + last generation when improvement occurred.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    StatisticsLogger
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      RunEntry(int generation, + double fitness, + int active, + boolean successful) +
      Creates a new run entry for a logger.
      +
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RunEntry

        +
        public RunEntry(int generation,
        +                double fitness,
        +                int active,
        +                boolean successful)
        +
        Creates a new run entry for a logger.
        +
        +
        Parameters:
        +
        generation - the generation when fitness improvement last occurred.
        +
        fitness - the best fitness achieved.
        +
        active - the number of active nodes in the best solution found.
        +
        successful - whether or not the run found a perfect solution.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getGeneration

        +
        public int getGeneration()
        +
        +
        Returns:
        +
        the generation when improvement last occurred.
        +
        +
      • +
      + + + +
        +
      • +

        getFitness

        +
        public double getFitness()
        +
        +
        Returns:
        +
        the best fitness achieved during the run.
        +
        +
      • +
      + + + +
        +
      • +

        isSuccessful

        +
        public boolean isSuccessful()
        +
        +
        Returns:
        +
        true if the run was successful.
        +
        +
      • +
      + + + +
        +
      • +

        getActiveNodes

        +
        public int getActiveNodes()
        +
        +
        Returns:
        +
        the number of active nodes in the best solution found.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + -- cgit v1.2.3