diff options
Diffstat (limited to 'fitness.m')
-rw-r--r-- | fitness.m | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ function [Energy, Waist, Penalty] = fitness( q_0, q_final, x_final, optics_posit [w0, r0] = q2wr(q_0, lambda);
[ w, w_pos ] = self_gbeam_propagation( w0, optics_positions, optics_focal_length, x0, lambda );
- coef = 1;
+ coef = 10;
d_object = abs(optics_positions(end) - w_pos(end - 1));
d_lens = optics_positions(end) - optics_positions(end - 1);
penalty_not_collimated_beam = coef * exp(-(d_object/d_lens)^2);
|