]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.1
authorfred <fred>
Sun, 24 Mar 2002 19:50:22 +0000 (19:50 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:50:22 +0000 (19:50 +0000)
lily/include/line-spacer.hh

index c8bf02b48cb89ac42fd75de04c360bb866a38a4c..96ef38d42f9dc7f059b1100a8efbc3ca8a71d7cb 100644 (file)
@@ -29,15 +29,16 @@ public:
     Paper_def *paper_l()const;
     Line_spacer();
     
-    virtual Array<PCol*> error_pcol_l_arr() const=0;
-
     /** solve the spacing problem
-      
-      @return the column positions, and the energy (last element)
-
       */
-    virtual Array<Real> 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{}