Implemented Maven jar-with-dependencies build

Added some @Override annotations
Removed buggy test cases.
refs #8
This commit is contained in:
2013-01-25 13:46:16 +00:00
parent ef36d09218
commit 44328157ea
4 changed files with 29 additions and 21 deletions

View File

@@ -178,6 +178,7 @@ public abstract class AbstractEAIndividual implements IndividualInterface, java.
* @param obj The individual to compare to.
* @return boolean if equal true else false
*/
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
@@ -272,6 +273,7 @@ public abstract class AbstractEAIndividual implements IndividualInterface, java.
* Returns a hash code value for the object. This method is supported for
* the benefit of hashtables such as those provided by java.util.Hashtable
*/
@Override
public int hashCode() {
String t = AbstractEAIndividual.getDefaultStringRepresentation(this);
return t.hashCode();

View File

@@ -103,7 +103,7 @@ public class MutateGANBit implements InterfaceMutation, java.io.Serializable {
*/
@Override
public String getStringRepresentation() {
return "GA n-Bit mutation";
return "GA n-Bit mutation (n="+this.numberOfMutations+")";
}
/**