]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/gourlay-breaking.hh
release: 1.2.14
[lilypond.git] / lily / include / gourlay-breaking.hh
index 98c3294bf3bfa680d57fdd4839c67a22656ae990..fd8fe4b37cd864a15fb8a819b1b359ffe750e8d9 100644 (file)
 #ifndef GOURLAY_BREAKING_HH
 #define GOURLAY_BREAKING_HH
 
-#include "break.hh"
+#include "break-algorithm.hh"
 
 /**
   A dynamic programming solution to breaking scores into lines
  */
 struct Gourlay_breaking : public Break_algorithm
 {
-    Real energy_bound_f_ ;
+  Real energy_bound_f_ ;
     
     /// maximum number of measures in a line
-    int max_measures_i_;
-    void do_set_pscore();
-    Array<Column_x_positions> do_solve() const;
-    Gourlay_breaking();
+  int max_measures_i_;
+  void do_set_pscore();
+  Array<Column_x_positions> do_solve() const;
+  Gourlay_breaking();
+  Real combine_demerits (Column_x_positions const&,Column_x_positions const&) const;
 };
 #endif // GOURLAY_BREAKING_HH