.. index:: pair: class; QPanda::OriginPowell .. _doxid-class_q_panda_1_1_origin_powell: class QPanda::OriginPowell ========================== .. toctree:: :hidden: Overview ~~~~~~~~ Minimization of scalar function of one or more variables using the Powell algorithm. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class OriginPowell: public :ref:`QPanda::AbstractOptimizer` { public: // construction :ref:`OriginPowell`(); :target:`OriginPowell`(const OriginPowell&); // methods OriginPowell& :target:`operator =` (const OriginPowell&); virtual void :ref:`exec`(); virtual QOptimizationResult :ref:`getResult`(); }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // methods :ref:`AbstractOptimizer`& :ref:`operator =` (const :ref:`AbstractOptimizer`&); virtual void :ref:`registerFunc`(const QOptFunc& func, const vector_d& optimized_para); virtual void :ref:`setDisp`(bool disp); virtual void :ref:`setAdaptive`(bool adaptive); virtual void :ref:`setXatol`(double xatol); virtual void :ref:`setFatol`(double fatol); virtual void :ref:`setMaxFCalls`(size_t max_fcalls); virtual void :ref:`setMaxIter`(size_t max_iter); virtual void :ref:`setRestoreFromCacheFile`(bool restore); virtual void :ref:`setCacheFile`(const std::string& cache_file); virtual void :ref:`setTestValueAndParaFile`(double test_value, const std::string& filename); virtual void :ref:`exec`() = 0; virtual QOptimizationResult :ref:`getResult`(); .. _details-class_q_panda_1_1_origin_powell: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Minimization of scalar function of one or more variables using the Powell algorithm. Construction ------------ .. index:: pair: function; OriginPowell .. _doxid-class_q_panda_1_1_origin_powell_1aceb22f18adb7bec27fee6d4b232b8960: .. ref-code-block:: cpp :class: doxyrest-title-code-block OriginPowell() Constructor of :ref:`OriginPowell `. Methods ------- .. index:: pair: function; exec .. _doxid-class_q_panda_1_1_origin_powell_1a8480d37fef8b764aa487ece24b92aa2d: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual void exec() execute optimization .. index:: pair: function; getResult .. _doxid-class_q_panda_1_1_origin_powell_1adff011899d8983e833ba4ee5e2d246eb: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual QOptimizationResult getResult() get optimization result .. rubric:: Returns: QOptimizationResult optimization result