From a075e176b2d16936cb9d158c2e684adf5b45ba31 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:50:22 +0000 Subject: [PATCH] lilypond-0.1.1 --- lily/include/line-spacer.hh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lily/include/line-spacer.hh b/lily/include/line-spacer.hh index c8bf02b48c..96ef38d42f 100644 --- a/lily/include/line-spacer.hh +++ b/lily/include/line-spacer.hh @@ -29,15 +29,16 @@ public: Paper_def *paper_l()const; Line_spacer(); - virtual Array error_pcol_l_arr() const=0; - /** solve the spacing problem - - @return the column positions, and the energy (last element) - */ - virtual Array solve() const=0; + virtual void solve(Col_hpositions *) const=0; + /** + Approximate the spacing problem: + return a lower bound on the energy + */ + virtual void lower_bound_solution(Col_hpositions *) const=0; + /** add a col to the problem. columns have to be added left to right. The column contains info on it's minimum width. */ virtual void add_column(PCol *, bool fixed=false, Real fixpos=0.0)=0; @@ -56,6 +57,7 @@ public: generate a solution which can't fail */ virtual Vector default_solution() const=0; + virtual void OK() const{} virtual void print() const{} -- 2.39.5