~ubuntu-branches/ubuntu/maverick/openturns/maverick

« back to all changes in this revision

Viewing changes to lib/src/Base/Optim/BoundConstrainedAlgorithm.hxx

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2008-11-18 06:32:22 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20081118063222-pa0qncclrerrqkg2
Tags: 0.12.2-1
* New upstream release
* Bug fix: "New upstream release available (0.12.2)", thanks to Jerome
  Robert (Closes: #506005).
* Applied patch by J. Robert.
* debian/control: build-depends on libxml2

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21
21
 *
22
22
 *  @author: $LastChangedBy: dutka $
23
 
 *  @date:   $LastChangedDate: 2008-06-26 13:50:17 +0200 (jeu, 26 jun 2008) $
24
 
 *  Id:      $Id: BoundConstrainedAlgorithm.hxx 862 2008-06-26 11:50:17Z dutka $
 
23
 *  @date:   $LastChangedDate: 2008-09-13 22:37:56 +0200 (sam 13 sep 2008) $
 
24
 *  Id:      $Id: BoundConstrainedAlgorithm.hxx 929 2008-09-13 20:37:56Z dutka $
25
25
 */
26
26
#ifndef OPENTURNS_BOUNDCONSTRAINEDALGORITHM_HXX
27
27
#define OPENTURNS_BOUNDCONSTRAINEDALGORITHM_HXX
67
67
#endif
68
68
 
69
69
        /** Default constructor */
70
 
        explicit BoundConstrainedAlgorithm(const String & name = OT::DefaultName);
 
70
        explicit BoundConstrainedAlgorithm();
71
71
 
72
72
        /** Constructor from an implementation */
73
73
        BoundConstrainedAlgorithm(const BoundConstrainedAlgorithmImplementation & implementationconst);
77
77
 
78
78
        /** Constructor with parameters: no constraint, starting from the origin */
79
79
        BoundConstrainedAlgorithm(const NumericalMathFunction & objectiveFunction,
80
 
                                  const String & name = OT::DefaultName);
 
80
                                  const Bool verbose = false);
81
81
 
82
82
        /** Constructor with parameters: bound constraints, starting from the given point */
83
83
        BoundConstrainedAlgorithm(const NumericalMathFunction & objectiveFunction,
84
84
                                  const Interval & boundConstraints,
85
85
                                  const NumericalPoint & startingPoint,
86
86
                                  const OptimizationProblem optimization  = BoundConstrainedAlgorithmImplementation::MINIMIZATION,
87
 
                                  const String & name = OT::DefaultName) throw(InvalidArgumentException);
 
87
                                  const Bool verbose = false) throw(InvalidArgumentException);
88
88
 
89
89
        /** Performs the actual computation. Must be overloaded by the actual optimisation algorithm */
90
90
        virtual void run()
133
133
        /** String converter */
134
134
        virtual String str() const;
135
135
 
 
136
        /** Verbose accessor */
 
137
        Bool getVerbose() const;
 
138
        void setVerbose(const Bool verbose);
 
139
 
136
140
      } ; /* class BoundConstrainedAlgorithm */
137
141
 
138
142
    } /* namespace Optimisation */