I currently have modified John Grefenstette's original GENESIS code that runs under UNIX so that it runs using Microsoft Visual Studio C++ 6.0. I am now at the point where I need to code an evaluation function that will be part of a feedback loop to my system.
The feedback will be coming from a spectrometer in the form of a current and I want to maximize this current, but I have no idea how to code this into GENESIS.
The idea of GENESIS is to alter the shape of a laser pulse by changing the phase and amplitude of the pulse for individual frequency components using a Liquid Cystal pulse shaper.
For each different pulse I should get a different current from the spectrometer as feedback, and this is what I want to optimize.
Does anyone have any idea how I should go about this?