2 dot-formatting-problem.cc -- implement Dot_formatting_problem
5 file of the GNU LilyPond music typesetter
7 (c) 2007 Han-Wen Nienhuys <hanwen@lilypond.org>
11 #include "dot-formatting-problem.hh"
12 #include "dot-configuration.hh"
15 Dot_formatting_problem::~Dot_formatting_problem()
21 Dot_formatting_problem::register_configuration (Dot_configuration const &src)
23 int b = src.badness ();
27 best_ = new Dot_configuration (src);
32 Dot_formatting_problem::best () const
37 Dot_formatting_problem::Dot_formatting_problem (vector<Box> const &boxes,
39 : head_skyline_ (boxes, 0.0, Y_AXIS, RIGHT)
42 head_skyline_.set_minimum_height (base_x[RIGHT]);