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

Interface Connection

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    Input, Node
    +
    +
    +
    +
    public interface Connection
    +
    Connection declares the expected behaviour of any + part of a chromosome that can be connected to, specifically + nodes or inputs. Outputs are not connections since they + mark the end of chromosome paths. +

    + This interface provides a way to deal with connections + generically without having to specify whether they are nodes + or inputs. In this way a random connection can be picked and + dealt with more easily, facilitating mutations.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getValue

        +
        java.lang.Object getValue()
        +
        Compute and return the value of this connection. In + the case of inputs no computation is necessary, this + simply returns the value the input is set to. In the + case of nodes, the value is computed based on the + node's function and the value of its own connections.
        +
        +
        Returns:
        +
        the connection's value.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + -- cgit v1.2.3