---
scribo/ChangeLog | 6 ++++++
scribo/scribo/inverse_video/choose.hh | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index 3fbee9e..65cc887 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,5 +1,11 @@
2011-05-27 Sylvain Lobry <lobry(a)lrde.epita.fr>
+ Modified weights in the choose function.
+
+ * scribo/inverse_video/choose.hh: Here.
+
+2011-05-27 Sylvain Lobry <lobry(a)lrde.epita.fr>
+
Added a choose function, to be used with handle_collisions.
* scribo/inverse_video/handle_collisions.hh: Prototype fixed.
diff --git a/scribo/scribo/inverse_video/choose.hh
b/scribo/scribo/inverse_video/choose.hh
index 9b0d46e..7095116 100644
--- a/scribo/scribo/inverse_video/choose.hh
+++ b/scribo/scribo/inverse_video/choose.hh
@@ -101,8 +101,8 @@ namespace scribo
double score_ratio_area = scribo::inverse_video::ratio_area(line, line_inverse);
score =
- score_nb_comps * 0.5 +
- score_ratio_area * 0.5;
+ score_nb_comps * 0.4 +
+ score_ratio_area * 0.6;
scribo::inverse_video::internal::handle_score (score, input, line, line_inverse);
--
1.5.6.5
Show replies by date