diff options
author | Eduardo Pedroni <ep625@york.ac.uk> | 2014-04-01 23:00:53 +0100 |
---|---|---|
committer | Eduardo Pedroni <ep625@york.ac.uk> | 2014-04-01 23:00:53 +0100 |
commit | 02fd2bc7059da416937beb1abe67e5ca60379030 (patch) | |
tree | 609341fe10aaa0f2dc45a1e72eba20bd24fb1281 /src/jcgp/population/MutableElement.java | |
parent | a757deacded0d7357a9f68462d3f2051e16004ee (diff) |
Settings pane now actually controls the parameters, not much left to do.
Diffstat (limited to 'src/jcgp/population/MutableElement.java')
-rw-r--r-- | src/jcgp/population/MutableElement.java | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/jcgp/population/MutableElement.java b/src/jcgp/population/MutableElement.java deleted file mode 100644 index 12f6bd1..0000000 --- a/src/jcgp/population/MutableElement.java +++ /dev/null @@ -1,34 +0,0 @@ -package jcgp.population; - -public interface MutableElement { - - /** - * This method sets the indexed connection to the specified new connection. - * Implementing classes may choose to ignore the given index (such as in the - * case of outputs, which only have one connection). - * - * @param index - * @param newConnection - */ - public void setConnection(int index, Connection newConnection); - - /** - * This method returns true if and only if:</br> - * - the elements being compared are not the same instance;</br> - * - the connections of the compared elements are not the same instance;</br> - * - the elements have the same function (in the case of Node);</br> - * - the grid position of the elements themselves are the same;</br> - * - the grid position of all equivalent connections are the same;</br></br> - * - * The relationship computed by this method is:</br> - * - symmetric: a.copyOf(b) == b.copyOf(a);</br> - * - not reflexive: a.copyOf(a) returns false;</br> - * - not transitive: if a.copyOf(b) is true and b.copyOf(c) is true, a.copyOf(c) is - * not necessarily true since it is possible that a == c.</br> - * - * @param m - * @return - */ - boolean copyOf(MutableElement m); - -} |