Waveform reproduction of impact by genetic algorithm