Merge MK 267:268: Some new functions (coming with NES tests) - missing adaption 2

This commit is contained in:
Marcel Kronfeld 2009-04-02 09:50:42 +00:00
parent c68d95f93e
commit 34fec6999b

View File

@ -948,6 +948,16 @@ public abstract class AbstractEAIndividual implements IndividualInterface, java.
return null;
}
/**
* Try to convert the individuals position to double[] and return it.
* Returns null if there is no conversion available.
*
* @param indy
* @return double valued position of an individual or null
*/
public double[] getDoublePosition() {
return AbstractEAIndividual.getDoublePosition(this);
}
/**********************************************************************************************************************
* Implementing the Individual Interface
*/