From 82b79070349de134a1c847435bf0aa41853bb7c0 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Wed, 20 Mar 2013 18:41:08 -0400 Subject: increased collimated region penalty --- fitness.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fitness.m b/fitness.m index 3dac363..403d8d7 100644 --- a/fitness.m +++ b/fitness.m @@ -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); -- cgit v1.2.3