+/*
+ dot-formatting-problem.cc -- implement Dot_formatting_problem
+
+
+ file of the GNU LilyPond music typesetter
+
+ (c) 2007--2008 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+*/
#include "dot-formatting-problem.hh"
#include "dot-configuration.hh"
return best_;
}
-
-
-Dot_formatting_problem::Dot_formatting_problem (vector<Box> const &boxes, Interval base_x)
+Dot_formatting_problem::Dot_formatting_problem (vector<Box> const &boxes,
+ Interval base_x)
: head_skyline_ (boxes, 0.0, Y_AXIS, RIGHT)
{
best_ = 0;
head_skyline_.set_minimum_height (base_x[RIGHT]);
+ score_ = 1 << 30;
}