From: fred Date: Sun, 24 Mar 2002 19:50:22 +0000 (+0000) Subject: lilypond-0.1.1 X-Git-Tag: release/1.5.59~4318 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a075e176b2d16936cb9d158c2e684adf5b45ba31;p=lilypond.git lilypond-0.1.1 --- 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{}