~ubuntu-branches/ubuntu/feisty/gnumeric/feisty-updates

« back to all changes in this revision

Viewing changes to src/solver.h

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2006-11-14 14:02:03 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20061114140203-iv3j2aii3vch6isl
Tags: 1.7.2-1ubuntu1
* Merge with debian experimental:
  - debian/control, debian/*-gtk-*, debian/rules,
    debian/shlibs.local: Xubuntu changes for
    gtk/gnome multibuild.
  - run intltool-update in po*
  - Build Depend on intltool

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
 * Solver's API for LP solving algorithms
113
113
 */
114
114
typedef SolverProgram
115
 
        (solver_init_fn)                (const SolverParameters *param);
 
115
        (solver_init_fn)                (SolverParameters const *param);
116
116
typedef void
117
117
        (solver_remove_fn)              (SolverProgram p);
118
118
typedef void
151
151
 
152
152
 
153
153
typedef struct {
154
 
        const char                    *name;
 
154
        char const                    *name;
155
155
        solver_init_fn                *init_fn;
156
156
        solver_remove_fn              *remove_fn;
157
157
        solver_lp_set_obj_fn          *set_obj_fn;
244
244
 
245
245
/* Creates a copy of the Solver's data structures when a sheet is
246
246
 * duplicated. */
247
 
SolverParameters *solver_lp_copy       (const SolverParameters *src_param,
 
247
SolverParameters *solver_lp_copy       (SolverParameters const *src_param,
248
248
                                        Sheet *new_sheet);
249
249
 
250
250
/* Frees the data structure allocated for the results. */
252
252
 
253
253
/* Returns a pointer to the target cell of the model attached to the
254
254
 * given sheet. */
255
 
GnmCell         *solver_get_target_cell (Sheet *sheet);
 
255
GnmCell         *solver_get_target_cell (Sheet *sheet);
256
256
 
257
257
/* Returns a pointer to a input variable cell. */
258
258
GnmCell         *solver_get_input_var (SolverResults *res, int n);