Introduce JNI native problem
Using JNI we can add and load problems written in C/C++ easily. EvA2 should ship with a eva2.problems.NativeProblem
that tries to load a libeva2problem
shared library. The shared library should only need to implement two functions: getName
(?) and evaluate(double[])
.
This will allow to easily plug into other C/C++ based libraries and utilize EvA2's potential.