Updated docs
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -81,26 +81,6 @@
|
||||
</node>
|
||||
</incdepgraph>
|
||||
<sectiondef kind="typedef">
|
||||
<memberdef kind="typedef" id="_source_8cpp_1a58886021157a65d2d4b9c3f486ea5c2c" prot="public" static="no">
|
||||
<templateparamlist>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref></type>
|
||||
<declname>n</declname>
|
||||
<defname>n</defname>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">EXPONENTIAL::Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">n</ref> ></type>
|
||||
<definition>using Function = EXPONENTIAL::Function<n></definition>
|
||||
<argsstring></argsstring>
|
||||
<name>Function</name>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Source.cpp" line="11" column="1" bodyfile="Exponential/Source.cpp" bodystart="11" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="typedef" id="_source_8cpp_1abdf3aa0505635f2b960799972f78977d" prot="public" static="no">
|
||||
<type>TIMER::Timer</type>
|
||||
<definition>typedef TIMER::Timer timer</definition>
|
||||
@@ -112,28 +92,21 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Source.cpp" line="13" column="22" bodyfile="Exponential/Source.cpp" bodystart="13" bodyend="-1"/>
|
||||
<location file="Exponential/Source.cpp" line="12" column="22" bodyfile="Exponential/Source.cpp" bodystart="12" bodyend="-1"/>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<sectiondef kind="func">
|
||||
<memberdef kind="function" id="_source_8cpp_1aaffba5622da3efcab3ef60638c23cd52" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<templateparamlist>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref></type>
|
||||
<declname>exp</declname>
|
||||
<defname>exp</defname>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">void</ref></type>
|
||||
<memberdef kind="function" id="_source_8cpp_1a31ce7c6b21345b4a0a49384fa59b77cb" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void CalcRoots</definition>
|
||||
<argsstring>(std::mutex &m, const Function< exp > &func, EXPONENTIAL::GA_Options options)</argsstring>
|
||||
<argsstring>(std::mutex &m, const Function &func, EXPONENTIAL::GA_Options options)</argsstring>
|
||||
<name>CalcRoots</name>
|
||||
<param>
|
||||
<type>std::mutex &</type>
|
||||
<declname>m</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">exp</ref> > &</type>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>func</declname>
|
||||
</param>
|
||||
<param>
|
||||
@@ -146,26 +119,19 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Source.cpp" line="16" column="6" bodyfile="Exponential/Source.cpp" bodystart="16" bodyend="34"/>
|
||||
<location file="Exponential/Source.cpp" line="14" column="6" bodyfile="Exponential/Source.cpp" bodystart="14" bodyend="32"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="_source_8cpp_1aea271c738ee176b86ab545bac23336f6" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<templateparamlist>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref></type>
|
||||
<declname>exp</declname>
|
||||
<defname>exp</defname>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">void</ref></type>
|
||||
<memberdef kind="function" id="_source_8cpp_1a4219e97cb99d992b2cdb7274a17b9436" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void SolveX</definition>
|
||||
<argsstring>(std::mutex &m, const Function< exp > &func, EXPONENTIAL::GA_Options options, const double &y)</argsstring>
|
||||
<argsstring>(std::mutex &m, const Function &func, EXPONENTIAL::GA_Options options, const double &y)</argsstring>
|
||||
<name>SolveX</name>
|
||||
<param>
|
||||
<type>std::mutex &</type>
|
||||
<declname>m</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">exp</ref> > &</type>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>func</declname>
|
||||
</param>
|
||||
<param>
|
||||
@@ -173,7 +139,7 @@
|
||||
<declname>options</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref> &</type>
|
||||
<type>const double &</type>
|
||||
<declname>y</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
@@ -182,10 +148,10 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Source.cpp" line="37" column="6" bodyfile="Exponential/Source.cpp" bodystart="37" bodyend="51"/>
|
||||
<location file="Exponential/Source.cpp" line="34" column="6" bodyfile="Exponential/Source.cpp" bodystart="34" bodyend="48"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="_source_8cpp_1ae66f6b31b5ad750f1fe042a706a4e3d4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref></type>
|
||||
<type>int</type>
|
||||
<definition>int main</definition>
|
||||
<argsstring>()</argsstring>
|
||||
<name>main</name>
|
||||
@@ -195,7 +161,7 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Source.cpp" line="53" column="5" bodyfile="Exponential/Source.cpp" bodystart="53" bodyend="92"/>
|
||||
<location file="Exponential/Source.cpp" line="50" column="5" bodyfile="Exponential/Source.cpp" bodystart="50" bodyend="91"/>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
@@ -212,89 +178,88 @@
|
||||
<codeline lineno="7"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="8"><highlight class="normal"></highlight><highlight class="keyword">using<sp/>namespace<sp/></highlight><highlight class="normal">JRAMPERSAD;</highlight></codeline>
|
||||
<codeline lineno="9"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="10"><highlight class="normal"></highlight><highlight class="keyword">template</highlight><highlight class="normal"><sp/><</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>n></highlight></codeline>
|
||||
<codeline lineno="11"><highlight class="normal"></highlight><highlight class="keyword">using<sp/></highlight><highlight class="normal"><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref><sp/>=<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">EXPONENTIAL::Function<n></ref>;</highlight></codeline>
|
||||
<codeline lineno="12"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="13"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">TIMER::Timer</ref><sp/>timer;</highlight></codeline>
|
||||
<codeline lineno="14"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="15"><highlight class="normal"></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>exp></highlight></codeline>
|
||||
<codeline lineno="16"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>CalcRoots(<ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::mutex</ref>&<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">m</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function<exp></ref>&<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">func</ref>,<sp/><ref refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options" kindref="compound">EXPONENTIAL::GA_Options</ref><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">options</ref>)</highlight></codeline>
|
||||
<codeline lineno="17"><highlight class="normal">{</highlight></codeline>
|
||||
<codeline lineno="18"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">m</ref>.lock();</highlight></codeline>
|
||||
<codeline lineno="19"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::cout</ref><sp/><<<sp/></highlight><highlight class="stringliteral">"Starting<sp/>calculation...\n"</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">m</ref>.unlock();</highlight></codeline>
|
||||
<codeline lineno="21"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="22"><highlight class="normal"><sp/><sp/><sp/><sp/>timer<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">t</ref>;</highlight></codeline>
|
||||
<codeline lineno="23"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal"><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">gr</ref><sp/>=<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">func</ref>.<ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ad090de9f6636094f14f1279615fccbc0" kindref="member">get_real_roots</ref>(<ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">options</ref>);</highlight></codeline>
|
||||
<codeline lineno="24"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">t</ref>.SetEnd();</highlight></codeline>
|
||||
<codeline lineno="25"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="26"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">m</ref>.lock();</highlight></codeline>
|
||||
<codeline lineno="27"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::cout</ref><sp/><<<sp/></highlight><highlight class="stringliteral">"Time<sp/>took<sp/>to<sp/>calculate<sp/>approx<sp/>root<sp/>values:<sp/>"</highlight><highlight class="normal"><sp/><<<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">t</ref>.GetTimeInS()<sp/><<<sp/></highlight><highlight class="stringliteral">"s\n"</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="28"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::cout</ref><sp/><<<sp/></highlight><highlight class="stringliteral">"Approximate<sp/>values<sp/>of<sp/>x<sp/>where<sp/>y<sp/>=<sp/>0<sp/>are:<sp/>\n"</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="29"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::for_each</ref>(<ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">gr</ref>.begin(),<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">gr</ref>.end(),</highlight></codeline>
|
||||
<codeline lineno="30"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>[](</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal">&<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">val</ref>)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="31"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/></highlight><highlight class="stringliteral">"x:"</highlight><highlight class="normal"><sp/><<<sp/>val<sp/><<<sp/></highlight><highlight class="stringliteral">'\n'</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="32"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>});</highlight></codeline>
|
||||
<codeline lineno="33"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">m</ref>.unlock();</highlight></codeline>
|
||||
<codeline lineno="34"><highlight class="normal">}</highlight></codeline>
|
||||
<codeline lineno="35"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="36"><highlight class="normal"></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>exp></highlight></codeline>
|
||||
<codeline lineno="37"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>SolveX(<ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::mutex</ref>&<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">m</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function<exp></ref>&<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">func</ref>,<sp/><ref refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options" kindref="compound">EXPONENTIAL::GA_Options</ref><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">options</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal">&<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">y</ref>)</highlight></codeline>
|
||||
<codeline lineno="38"><highlight class="normal">{</highlight></codeline>
|
||||
<codeline lineno="39"><highlight class="normal"><sp/><sp/><sp/><sp/>timer<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">t</ref>;</highlight></codeline>
|
||||
<codeline lineno="40"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal"><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">res</ref><sp/>=<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">func</ref>.<ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a46b9671c4a29b2b2b34586048a3b795a" kindref="member">solve_x</ref>(<ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">y</ref>,<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">options</ref>);</highlight></codeline>
|
||||
<codeline lineno="41"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">t</ref>.SetEnd();</highlight></codeline>
|
||||
<codeline lineno="42"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="43"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">m</ref>.lock();</highlight></codeline>
|
||||
<codeline lineno="44"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::cout</ref><sp/><<<sp/></highlight><highlight class="stringliteral">"Time<sp/>took<sp/>to<sp/>calculate<sp/>approx<sp/>x<sp/>values:<sp/>"</highlight><highlight class="normal"><sp/><<<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">t</ref>.GetTimeInS()<sp/><<<sp/></highlight><highlight class="stringliteral">"s\n"</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="45"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::cout</ref><sp/><<<sp/></highlight><highlight class="stringliteral">"Approximate<sp/>values<sp/>of<sp/>x<sp/>where<sp/>y<sp/>=<sp/>"</highlight><highlight class="normal"><sp/><<<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">y</ref><sp/><<<sp/></highlight><highlight class="stringliteral">"<sp/>are:<sp/>\n"</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="46"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::for_each</ref>(<ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">res</ref>.begin(),<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">res</ref>.end(),</highlight></codeline>
|
||||
<codeline lineno="47"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>[](</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal">&<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">val</ref>)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="48"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/></highlight><highlight class="stringliteral">"x:"</highlight><highlight class="normal"><sp/><<<sp/>val<sp/><<<sp/></highlight><highlight class="stringliteral">'\n'</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="49"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>});</highlight></codeline>
|
||||
<codeline lineno="50"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">m</ref>.unlock();</highlight></codeline>
|
||||
<codeline lineno="51"><highlight class="normal">}</highlight></codeline>
|
||||
<codeline lineno="52"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="53"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>main()</highlight></codeline>
|
||||
<codeline lineno="54"><highlight class="normal">{</highlight></codeline>
|
||||
<codeline lineno="55"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::vector<int></ref><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">vec</ref>{<sp/>1,<sp/>5,<sp/>4<sp/>};</highlight></codeline>
|
||||
<codeline lineno="56"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function<2></ref><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">f</ref>{<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">vec</ref><sp/>};</highlight></codeline>
|
||||
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function<3></ref><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">g</ref>{<sp/>{<sp/>1,<sp/>-6,<sp/>11,<sp/>-6<sp/>}<sp/>};</highlight></codeline>
|
||||
<codeline lineno="58"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="59"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options" kindref="compound">EXPONENTIAL::GA_Options</ref><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">options</ref>;</highlight></codeline>
|
||||
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">options</ref>.mutation_percentage<sp/>=<sp/>0.005;</highlight></codeline>
|
||||
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">options</ref>.num_of_generations<sp/>=<sp/>10;</highlight></codeline>
|
||||
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">options</ref>.sample_size<sp/>=<sp/>50;</highlight></codeline>
|
||||
<codeline lineno="63"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">options</ref>.data_size<sp/>=<sp/>5000000;</highlight></codeline>
|
||||
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">options</ref>.min_range<sp/>=<sp/>-100;</highlight></codeline>
|
||||
<codeline lineno="65"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">options</ref>.max_range<sp/>=<sp/>100;</highlight></codeline>
|
||||
<codeline lineno="66"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="67"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::mutex</ref><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">m</ref>;</highlight></codeline>
|
||||
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::thread</ref><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">th</ref>(<ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">CalcRoots<3></ref>,<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::ref</ref>(<ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">m</ref>),<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::cref</ref>(<ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">g</ref>),<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">options</ref>);</highlight></codeline>
|
||||
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::thread<sp/>th1(SolveX<3>,<sp/>std::ref(m),<sp/>std::cref(g),<sp/>options,<sp/>5);</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="70"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::thread<sp/>th2(SolveX<3>,<sp/>std::ref(m),<sp/>std::cref(g),<sp/>options,<sp/>23);</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="71"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//CalcRoots<3>(m,<sp/>g);</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="73"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="74"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">m</ref>.lock();</highlight></codeline>
|
||||
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::cout</ref><sp/><<<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">g</ref><sp/><<<sp/></highlight><highlight class="stringliteral">"<sp/>when<sp/>x<sp/>=<sp/>4.961015\n"</highlight><highlight class="normal"><sp/><<<sp/></highlight><highlight class="stringliteral">"y<sp/>=<sp/>"</highlight><highlight class="normal"><sp/><<<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">g</ref>.<ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5464547daff0c43faccdc40ea480bab4" kindref="member">solve_y</ref>(4.961015)<sp/><<<sp/></highlight><highlight class="stringliteral">"\n\n"</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="76"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::cout<sp/><<<sp/>g<sp/><<<sp/>"<sp/>when<sp/>x<sp/>=<sp/>4.30891\n"<sp/><<<sp/>"y<sp/>=<sp/>"<sp/><<<sp/>g.solve_y(4.30891)<sp/><<<sp/>"\n\n";</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="77"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::cout<sp/><<<sp/>g<sp/><<<sp/>"<sp/>when<sp/>x<sp/>=<sp/>2\n"<sp/><<<sp/>"y<sp/>=<sp/>"<sp/><<<sp/>g.solve_y(2)<sp/><<<sp/>"\n\n";</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="78"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::cout<sp/><<<sp/>g<sp/><<<sp/>"<sp/>when<sp/>x<sp/>=<sp/>3\n"<sp/><<<sp/>"y<sp/>=<sp/>"<sp/><<<sp/>g.solve_y(3)<sp/><<<sp/>"\n\n";</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="79"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::cout<sp/><<<sp/>"Median:<sp/>"<sp/><<<sp/>MATH::MEDIAN(gr)<sp/><<<sp/>'\n';</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="81"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::cout<sp/><<<sp/>"Mean:<sp/>"<sp/><<<sp/>MATH::MEAN(gr)<sp/><<<sp/>'\n';</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="82"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="83"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::cout<sp/><<<sp/>"Calculating<sp/>Roots<sp/>for<sp/>function<sp/>f(x)<sp/>=<sp/>"<sp/><<<sp/>g<sp/><<<sp/>'\n';</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::cout<sp/><<<sp/>"The<sp/>y-intercept<sp/>of<sp/>the<sp/>function<sp/>f(x)<sp/>is<sp/>"<sp/><<<sp/>g.solve_y(0)<sp/><<<sp/>'\n';</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="85"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kindref="member">std::cout</ref><sp/><<<sp/></highlight><highlight class="stringliteral">"dy/dx<sp/>of<sp/>f(x)<sp/>is<sp/>"</highlight><highlight class="normal"><sp/><<<sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">g</ref>.<ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ae43c705b427ac1ef27aed061a63e500e" kindref="member">differential</ref>()<sp/><<<sp/></highlight><highlight class="charliteral">'\n'</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="86"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">m</ref>.unlock();</highlight></codeline>
|
||||
<codeline lineno="87"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">th</ref>.join();</highlight></codeline>
|
||||
<codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//th1.join();</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//th2.join();</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="91"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
||||
<codeline lineno="92"><highlight class="normal">}</highlight></codeline>
|
||||
<codeline lineno="10"><highlight class="normal"></highlight><highlight class="keyword">using<sp/></highlight><highlight class="normal"><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">EXPONENTIAL::Function</ref>;</highlight></codeline>
|
||||
<codeline lineno="11"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="12"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>TIMER::Timer<sp/>timer;</highlight></codeline>
|
||||
<codeline lineno="13"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="14"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>CalcRoots(std::mutex&<sp/>m,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>&<sp/>func,<sp/><ref refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options" kindref="compound">EXPONENTIAL::GA_Options</ref><sp/>options)</highlight></codeline>
|
||||
<codeline lineno="15"><highlight class="normal">{</highlight></codeline>
|
||||
<codeline lineno="16"><highlight class="normal"><sp/><sp/><sp/><sp/>m.lock();</highlight></codeline>
|
||||
<codeline lineno="17"><highlight class="normal"><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/></highlight><highlight class="stringliteral">"Starting<sp/>calculation...\n"</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="18"><highlight class="normal"><sp/><sp/><sp/><sp/>m.unlock();</highlight></codeline>
|
||||
<codeline lineno="19"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/>timer<sp/>t;</highlight></codeline>
|
||||
<codeline lineno="21"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal"><sp/>gr<sp/>=<sp/>func.<ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a2fe7e79ec57cb7160c783c20870fe855" kindref="member">get_real_roots</ref>(options);</highlight></codeline>
|
||||
<codeline lineno="22"><highlight class="normal"><sp/><sp/><sp/><sp/>t.SetEnd();</highlight></codeline>
|
||||
<codeline lineno="23"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="24"><highlight class="normal"><sp/><sp/><sp/><sp/>m.lock();</highlight></codeline>
|
||||
<codeline lineno="25"><highlight class="normal"><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/></highlight><highlight class="stringliteral">"Time<sp/>took<sp/>to<sp/>calculate<sp/>approx<sp/>root<sp/>values:<sp/>"</highlight><highlight class="normal"><sp/><<<sp/>t.GetTimeInS()<sp/><<<sp/></highlight><highlight class="stringliteral">"s\n"</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="26"><highlight class="normal"><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/></highlight><highlight class="stringliteral">"Approximate<sp/>values<sp/>of<sp/>x<sp/>where<sp/>y<sp/>=<sp/>0<sp/>are:<sp/>\n"</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="27"><highlight class="normal"><sp/><sp/><sp/><sp/>std::for_each(gr.begin(),<sp/>gr.end(),</highlight></codeline>
|
||||
<codeline lineno="28"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>[](</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal">&<sp/>val)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="29"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/></highlight><highlight class="stringliteral">"x:"</highlight><highlight class="normal"><sp/><<<sp/>val<sp/><<<sp/></highlight><highlight class="stringliteral">'\n'</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="30"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>});</highlight></codeline>
|
||||
<codeline lineno="31"><highlight class="normal"><sp/><sp/><sp/><sp/>m.unlock();</highlight></codeline>
|
||||
<codeline lineno="32"><highlight class="normal">}</highlight></codeline>
|
||||
<codeline lineno="33"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="34"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>SolveX(std::mutex&<sp/>m,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>&<sp/>func,<sp/><ref refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options" kindref="compound">EXPONENTIAL::GA_Options</ref><sp/>options,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal">&<sp/>y)</highlight></codeline>
|
||||
<codeline lineno="35"><highlight class="normal">{</highlight></codeline>
|
||||
<codeline lineno="36"><highlight class="normal"><sp/><sp/><sp/><sp/>timer<sp/>t;</highlight></codeline>
|
||||
<codeline lineno="37"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal"><sp/>res<sp/>=<sp/>func.<ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ac6f66aef23d97a47707796a9891fda80" kindref="member">solve_x</ref>(y,<sp/>options);</highlight></codeline>
|
||||
<codeline lineno="38"><highlight class="normal"><sp/><sp/><sp/><sp/>t.SetEnd();</highlight></codeline>
|
||||
<codeline lineno="39"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="40"><highlight class="normal"><sp/><sp/><sp/><sp/>m.lock();</highlight></codeline>
|
||||
<codeline lineno="41"><highlight class="normal"><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/></highlight><highlight class="stringliteral">"Time<sp/>took<sp/>to<sp/>calculate<sp/>approx<sp/>x<sp/>values:<sp/>"</highlight><highlight class="normal"><sp/><<<sp/>t.GetTimeInS()<sp/><<<sp/></highlight><highlight class="stringliteral">"s\n"</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="42"><highlight class="normal"><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/></highlight><highlight class="stringliteral">"Approximate<sp/>values<sp/>of<sp/>x<sp/>where<sp/>y<sp/>=<sp/>"</highlight><highlight class="normal"><sp/><<<sp/>y<sp/><<<sp/></highlight><highlight class="stringliteral">"<sp/>are:<sp/>\n"</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="43"><highlight class="normal"><sp/><sp/><sp/><sp/>std::for_each(res.begin(),<sp/>res.end(),</highlight></codeline>
|
||||
<codeline lineno="44"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>[](</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal">&<sp/>val)<sp/>{</highlight></codeline>
|
||||
<codeline lineno="45"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/></highlight><highlight class="stringliteral">"x:"</highlight><highlight class="normal"><sp/><<<sp/>val<sp/><<<sp/></highlight><highlight class="stringliteral">'\n'</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="46"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>});</highlight></codeline>
|
||||
<codeline lineno="47"><highlight class="normal"><sp/><sp/><sp/><sp/>m.unlock();</highlight></codeline>
|
||||
<codeline lineno="48"><highlight class="normal">}</highlight></codeline>
|
||||
<codeline lineno="49"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="50"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>main()</highlight></codeline>
|
||||
<codeline lineno="51"><highlight class="normal">{</highlight></codeline>
|
||||
<codeline lineno="52"><highlight class="normal"><sp/><sp/><sp/><sp/>std::vector<int64_t><sp/>vec{<sp/>1,<sp/>5,<sp/>4<sp/>};</highlight></codeline>
|
||||
<codeline lineno="53"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref><sp/>f{2};</highlight></codeline>
|
||||
<codeline lineno="54"><highlight class="normal"><sp/><sp/><sp/><sp/>INITIALIZE_EXPO_FUNCTION(f,<sp/>vec);</highlight></codeline>
|
||||
<codeline lineno="55"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref><sp/>g{3};</highlight></codeline>
|
||||
<codeline lineno="56"><highlight class="normal"><sp/><sp/><sp/><sp/>INITIALIZE_EXPO_FUNCTION(g,<sp/>{<sp/>1,<sp/>-6,<sp/>1,<sp/>-6<sp/>});</highlight></codeline>
|
||||
<codeline lineno="57"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="58"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options" kindref="compound">EXPONENTIAL::GA_Options</ref><sp/>options;</highlight></codeline>
|
||||
<codeline lineno="59"><highlight class="normal"><sp/><sp/><sp/><sp/>options.<ref refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options_1a736488b3cfeebda7b93b3e8c6f576bf8" kindref="member">mutation_percentage</ref><sp/>=<sp/>0.005;</highlight></codeline>
|
||||
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/>options.num_of_generations<sp/>=<sp/>10;</highlight></codeline>
|
||||
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/>options.sample_size<sp/>=<sp/>50;</highlight></codeline>
|
||||
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/>options.data_size<sp/>=<sp/>5000000;</highlight></codeline>
|
||||
<codeline lineno="63"><highlight class="normal"><sp/><sp/><sp/><sp/>options.min_range<sp/>=<sp/>-100;</highlight></codeline>
|
||||
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/>options.max_range<sp/>=<sp/>100;</highlight></codeline>
|
||||
<codeline lineno="65"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="66"><highlight class="normal"><sp/><sp/><sp/><sp/>std::mutex<sp/>m;</highlight></codeline>
|
||||
<codeline lineno="67"><highlight class="normal"><sp/><sp/><sp/><sp/>std::thread<sp/>th(CalcRoots,<sp/>std::ref(m),<sp/>std::cref(g),<sp/>options);</highlight></codeline>
|
||||
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::thread<sp/>th1(SolveX,<sp/>std::ref(m),<sp/>std::cref(g),<sp/>options,<sp/>5);</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::thread<sp/>th2(SolveX,<sp/>std::ref(m),<sp/>std::cref(g),<sp/>options,<sp/>23);</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="70"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//CalcRoots<3>(m,<sp/>g);</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="72"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/>m.lock();</highlight></codeline>
|
||||
<codeline lineno="74"><highlight class="normal"><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/>g<sp/><<<sp/></highlight><highlight class="stringliteral">"<sp/>when<sp/>x<sp/>=<sp/>4.961015\n"</highlight><highlight class="normal"><sp/><<<sp/></highlight><highlight class="stringliteral">"y<sp/>=<sp/>"</highlight><highlight class="normal"><sp/><<<sp/>g.solve_y(4.961015)<sp/><<<sp/></highlight><highlight class="stringliteral">"\n\n"</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::cout<sp/><<<sp/>g<sp/><<<sp/>"<sp/>when<sp/>x<sp/>=<sp/>4.30891\n"<sp/><<<sp/>"y<sp/>=<sp/>"<sp/><<<sp/>g.solve_y(4.30891)<sp/><<<sp/>"\n\n";</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="76"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::cout<sp/><<<sp/>g<sp/><<<sp/>"<sp/>when<sp/>x<sp/>=<sp/>2\n"<sp/><<<sp/>"y<sp/>=<sp/>"<sp/><<<sp/>g.solve_y(2)<sp/><<<sp/>"\n\n";</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="77"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::cout<sp/><<<sp/>g<sp/><<<sp/>"<sp/>when<sp/>x<sp/>=<sp/>3\n"<sp/><<<sp/>"y<sp/>=<sp/>"<sp/><<<sp/>g.solve_y(3)<sp/><<<sp/>"\n\n";</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="78"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="79"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::cout<sp/><<<sp/>"Median:<sp/>"<sp/><<<sp/>MATH::MEDIAN(gr)<sp/><<<sp/>'\n';</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::cout<sp/><<<sp/>"Mean:<sp/>"<sp/><<<sp/>MATH::MEAN(gr)<sp/><<<sp/>'\n';</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="81"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="82"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::cout<sp/><<<sp/>"Calculating<sp/>Roots<sp/>for<sp/>function<sp/>f(x)<sp/>=<sp/>"<sp/><<<sp/>g<sp/><<<sp/>'\n';</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="83"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//std::cout<sp/><<<sp/>"The<sp/>y-intercept<sp/>of<sp/>the<sp/>function<sp/>f(x)<sp/>is<sp/>"<sp/><<<sp/>g.solve_y(0)<sp/><<<sp/>'\n';</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/></highlight><highlight class="stringliteral">"dy/dx<sp/>of<sp/>f(x)<sp/>is<sp/>"</highlight><highlight class="normal"><sp/><<<sp/>g.differential()<sp/><<<sp/></highlight><highlight class="charliteral">'\n'</highlight><highlight class="normal">;</highlight></codeline>
|
||||
<codeline lineno="85"><highlight class="normal"><sp/><sp/><sp/><sp/>m.unlock();</highlight></codeline>
|
||||
<codeline lineno="86"><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="87"><highlight class="normal"><sp/><sp/><sp/><sp/>th.join();</highlight></codeline>
|
||||
<codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//th1.join();</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//th2.join();</highlight><highlight class="normal"></highlight></codeline>
|
||||
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
||||
<codeline lineno="91"><highlight class="normal">}</highlight></codeline>
|
||||
</programlisting>
|
||||
<location file="Exponential/Source.cpp"/>
|
||||
</compounddef>
|
||||
|
||||
@@ -3,17 +3,25 @@
|
||||
<compounddef id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kind="class" language="C++" prot="public">
|
||||
<compoundname>JRAMPERSAD::EXPONENTIAL::Function</compoundname>
|
||||
<includes refid="_exponential_8h" local="no">Exponential.h</includes>
|
||||
<templateparamlist>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref></type>
|
||||
<declname>lrgst_expo</declname>
|
||||
<defname>lrgst_expo</defname>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<sectiondef kind="private-attrib">
|
||||
<memberdef kind="variable" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a77a9d035d39b19c73c1c58d76aaa7820" prot="private" static="no" mutable="no">
|
||||
<type>std::vector< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref> ></type>
|
||||
<definition>std::vector<int> JRAMPERSAD::EXPONENTIAL::Function< lrgst_expo >::constants</definition>
|
||||
<memberdef kind="variable" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a1918ec5f094574f4a43f51e3d4fd5016" prot="private" static="no" mutable="no">
|
||||
<type>const unsigned short</type>
|
||||
<definition>const unsigned short JRAMPERSAD::EXPONENTIAL::Function::lrgst_expo</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>lrgst_expo</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::lrgst_expo</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para>lrgst_expo The largest exponent in the function (e.g 2 means largest exponent is x^2) </para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="144" column="22" bodyfile="Exponential/Exponential.h" bodystart="144" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a8539119d87e133fc25fdd7c90c081e3e" prot="private" static="no" mutable="no">
|
||||
<type>std::vector< int64_t ></type>
|
||||
<definition>std::vector<int64_t> JRAMPERSAD::EXPONENTIAL::Function::constants</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>constants</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::constants</qualifiedname>
|
||||
@@ -23,18 +31,48 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="147" column="13" bodyfile="Exponential/Exponential.h" bodystart="147" bodyend="-1"/>
|
||||
<location file="Exponential/Exponential.h" line="145" column="13" bodyfile="Exponential/Exponential.h" bodystart="145" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ae2fc8499e47324a7ca65c20996119f1b" prot="private" static="no" mutable="no">
|
||||
<type>bool</type>
|
||||
<definition>bool JRAMPERSAD::EXPONENTIAL::Function::bInitialized</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>bInitialized</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::bInitialized</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="147" column="6" bodyfile="Exponential/Exponential.h" bodystart="147" bodyend="-1"/>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<sectiondef kind="private-func">
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ab64518ac4650ef1a33ed80b285b0e7fc" prot="private" static="no" const="yes" explicit="no" inline="yes" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void JRAMPERSAD::EXPONENTIAL::Function::CanPerform</definition>
|
||||
<argsstring>() const</argsstring>
|
||||
<name>CanPerform</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::CanPerform</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="149" column="6" bodyfile="Exponential/Exponential.h" bodystart="149" bodyend="149"/>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<sectiondef kind="friend">
|
||||
<memberdef kind="friend" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a8f5b8975b6e7318c093a963cd0b43db6" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>std::vector< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref> ></type>
|
||||
<memberdef kind="friend" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a9d14c1b8a7401565a054837df5708ac8" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>std::vector< double ></type>
|
||||
<definition>std::vector< double > QuadraticSolve</definition>
|
||||
<argsstring>(const Function< 2 > &f)</argsstring>
|
||||
<argsstring>(const Function &f)</argsstring>
|
||||
<name>QuadraticSolve</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::QuadraticSolve</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< 2 > &</type>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>f</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
@@ -46,7 +84,7 @@
|
||||
<parametername>f</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>Quadratic function you'd like to find the roots of (Quadratic <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> object is a Function<2> object </para>
|
||||
<para>Quadratic function you'd like to find the roots of (Quadratic <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> object is a <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> object who's lrgst_expo value = 2 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
@@ -56,12 +94,12 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="151" column="20" bodyfile="Exponential/Exponential.h" bodystart="280" bodyend="298"/>
|
||||
<location file="Exponential/Exponential.h" line="153" column="20" bodyfile="Exponential/Exponential.h" bodystart="234" bodyend="262"/>
|
||||
</memberdef>
|
||||
<memberdef kind="friend" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5de27194ad9a38f44771637a0f187562" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
|
||||
<memberdef kind="friend" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a9715ead4f7565aea73b2b956d32a8c2e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>std::ostream &</type>
|
||||
<definition>std::ostream & operator<<</definition>
|
||||
<argsstring>(std::ostream &os, const Function< lrgst_expo > func)</argsstring>
|
||||
<argsstring>(std::ostream &os, const Function func)</argsstring>
|
||||
<name>operator<<</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::operator<<</qualifiedname>
|
||||
<param>
|
||||
@@ -69,128 +107,98 @@
|
||||
<declname>os</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">lrgst_expo</ref> ></type>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref></type>
|
||||
<declname>func</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para>Operator function to display function object in a human readable format </para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="172" column="8" bodyfile="Exponential/Exponential.h" bodystart="172" bodyend="215"/>
|
||||
<location file="Exponential/Exponential.h" line="188" column="8" bodyfile="Exponential/Exponential.h" bodystart="294" bodyend="346"/>
|
||||
</memberdef>
|
||||
<memberdef kind="friend" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a08885f8e67d9d34770121c63c16f2eea" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<templateparamlist>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref></type>
|
||||
<declname>e1</declname>
|
||||
<defname>e1</defname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref></type>
|
||||
<declname>e2</declname>
|
||||
<defname>e2</defname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref></type>
|
||||
<declname>r</declname>
|
||||
<defname>r</defname>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">r</ref> ></type>
|
||||
<definition>Function< r > operator+</definition>
|
||||
<argsstring>(const Function< e1 > &f1, const Function< e2 > &f2)</argsstring>
|
||||
<memberdef kind="friend" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ac67d5be3dac9ab01eca47b11aaadb786" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref></type>
|
||||
<definition>Function operator+</definition>
|
||||
<argsstring>(const Function &f1, const Function &f2)</argsstring>
|
||||
<name>operator+</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::operator+</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">e1</ref> > &</type>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>f1</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">e2</ref> > &</type>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>f2</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para>Operator to add two functions </para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="218" column="17" bodyfile="Exponential/Exponential.h" bodystart="301" bodyend="330"/>
|
||||
<location file="Exponential/Exponential.h" line="190" column="17" bodyfile="Exponential/Exponential.h" bodystart="349" bodyend="394"/>
|
||||
</memberdef>
|
||||
<memberdef kind="friend" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1afde1d3a278a171c30ff0ff00f65d120e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<templateparamlist>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref></type>
|
||||
<declname>e1</declname>
|
||||
<defname>e1</defname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref></type>
|
||||
<declname>e2</declname>
|
||||
<defname>e2</defname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref></type>
|
||||
<declname>r</declname>
|
||||
<defname>r</defname>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">r</ref> ></type>
|
||||
<definition>Function< r > operator-</definition>
|
||||
<argsstring>(const Function< e1 > &f1, const Function< e2 > &f2)</argsstring>
|
||||
<memberdef kind="friend" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5e5034306a381d48ef50cce10f8f76c8" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref></type>
|
||||
<definition>Function operator-</definition>
|
||||
<argsstring>(const Function &f1, const Function &f2)</argsstring>
|
||||
<name>operator-</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::operator-</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">e1</ref> > &</type>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>f1</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">e2</ref> > &</type>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>f2</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para>Operator to subtract two functions </para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="220" column="17" bodyfile="Exponential/Exponential.h" bodystart="333" bodyend="366"/>
|
||||
<location file="Exponential/Exponential.h" line="191" column="17" bodyfile="Exponential/Exponential.h" bodystart="397" bodyend="446"/>
|
||||
</memberdef>
|
||||
<memberdef kind="friend" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ae95957956718c40093891faf8dd52b0e" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">lrgst_expo</ref> ></type>
|
||||
<definition>Function< lrgst_expo > operator*</definition>
|
||||
<argsstring>(const Function< lrgst_expo > &f, const int &c)</argsstring>
|
||||
<memberdef kind="friend" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5bb4eeaf7c3f6efe1c4eb1cd128d0d5e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref></type>
|
||||
<definition>Function operator*</definition>
|
||||
<argsstring>(const Function &f, const int64_t &c)</argsstring>
|
||||
<name>operator*</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::operator*</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">lrgst_expo</ref> > &</type>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>f</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref> &</type>
|
||||
<type>const int64_t &</type>
|
||||
<declname>c</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para>Operator to multiply a function by a constant (Scaling it) </para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="223" column="17" bodyfile="Exponential/Exponential.h" bodystart="223" bodyend="233"/>
|
||||
<location file="Exponential/Exponential.h" line="193" column="17" bodyfile="Exponential/Exponential.h" bodystart="449" bodyend="471"/>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<sectiondef kind="public-func">
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a771e5f172d0738a6b56a3406ddea5779" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
|
||||
<type></type>
|
||||
<definition>JRAMPERSAD::EXPONENTIAL::Function< lrgst_expo >::Function</definition>
|
||||
<argsstring>(const std::vector< int > &constnts)</argsstring>
|
||||
<definition>JRAMPERSAD::EXPONENTIAL::Function::Function</definition>
|
||||
<argsstring>(const unsigned short &Lrgst_expo)</argsstring>
|
||||
<name>Function</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::Function</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> std::vector< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref> > &</type>
|
||||
<declname>constnts</declname>
|
||||
<type>const unsigned short &</type>
|
||||
<declname>Lrgst_expo</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>Constructor for <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> class. </para>
|
||||
@@ -198,10 +206,10 @@
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>constnts</parametername>
|
||||
<parametername>Lrgst_expo</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>An array with the constants for the function (e.g 2, 1, 3 = 2x^2 + 1x - 3) size of array MUST be lrgst_expo + 1 </para>
|
||||
<para>The largest exponent in the function (e.g 2 means largest exponent is x^2) </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
@@ -209,108 +217,83 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="158" column="1" bodyfile="Exponential/Exponential.h" bodystart="369" bodyend="381"/>
|
||||
<location file="Exponential/Exponential.h" line="160" column="1" bodyfile="Exponential/Exponential.h" bodystart="160" bodyend="165"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a7216329180e93c93204f4061be9e560b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1afc95333a173bc120f6f9519dae853b3a" prot="public" static="no" const="no" explicit="no" inline="no" virt="virtual">
|
||||
<type></type>
|
||||
<definition>JRAMPERSAD::EXPONENTIAL::Function< lrgst_expo >::Function</definition>
|
||||
<argsstring>(std::vector< int > &&constnts)</argsstring>
|
||||
<name>Function</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::Function</qualifiedname>
|
||||
<param>
|
||||
<type>std::vector< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref> > &&</type>
|
||||
<declname>constnts</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>Constructor for <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> class. </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>constnts</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>An array with the constants for the function (e.g 2, 1, 3 = 2x^2 + 1x - 3) size of array MUST be lrgst_expo + 1 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="163" column="1" bodyfile="Exponential/Exponential.h" bodystart="384" bodyend="396"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a38038a3b3f371ca62098ad4d4c510966" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type></type>
|
||||
<definition>JRAMPERSAD::EXPONENTIAL::Function< lrgst_expo >::Function</definition>
|
||||
<argsstring>(const Function &other)=default</argsstring>
|
||||
<name>Function</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::Function</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>other</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="164" column="1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1aaafd98fd5dc5d0f9e4503bed1d49d323" prot="public" static="no" const="no" explicit="no" inline="no" noexcept="yes" virt="non-virtual">
|
||||
<type></type>
|
||||
<definition>JRAMPERSAD::EXPONENTIAL::Function< lrgst_expo >::Function</definition>
|
||||
<argsstring>(Function &&other) noexcept=default</argsstring>
|
||||
<name>Function</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::Function</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &&</type>
|
||||
<declname>other</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="165" column="1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a808783ae8be714fbbc5ddbd71db5ba30" prot="public" static="no" const="no" explicit="no" inline="no" virt="virtual">
|
||||
<type></type>
|
||||
<definition>JRAMPERSAD::EXPONENTIAL::Function< lrgst_expo >::~Function</definition>
|
||||
<definition>JRAMPERSAD::EXPONENTIAL::Function::~Function</definition>
|
||||
<argsstring>()</argsstring>
|
||||
<name>~Function</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::~Function</qualifiedname>
|
||||
<briefdescription>
|
||||
<para>Destructor. </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="166" column="9" bodyfile="Exponential/Exponential.h" bodystart="399" bodyend="402"/>
|
||||
<location file="Exponential/Exponential.h" line="167" column="9" bodyfile="Exponential/Exponential.h" bodystart="264" bodyend="267"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5c6ff5d442c8a74503312fb6bc75a1ff" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a2d7ac0d79af16746f89309f758adf40c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type></type>
|
||||
<definition>JRAMPERSAD::EXPONENTIAL::Function::Function</definition>
|
||||
<argsstring>(const Function &other)=default</argsstring>
|
||||
<name>Function</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::Function</qualifiedname>
|
||||
<param>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>other</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>Copy Constructor. </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="169" column="1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a2f4cd78e5a95d1862b4389e81ef136da" prot="public" static="no" const="no" explicit="no" inline="no" noexcept="yes" virt="non-virtual">
|
||||
<type></type>
|
||||
<definition>JRAMPERSAD::EXPONENTIAL::Function::Function</definition>
|
||||
<argsstring>(Function &&other) noexcept=default</argsstring>
|
||||
<name>Function</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::Function</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &&</type>
|
||||
<declname>other</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>Move Constructor. </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="171" column="1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a450305ad4a40a262d378b3781d87a043" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<definition>Function & JRAMPERSAD::EXPONENTIAL::Function< lrgst_expo >::operator=</definition>
|
||||
<definition>Function & JRAMPERSAD::EXPONENTIAL::Function::operator=</definition>
|
||||
<argsstring>(const Function &other)=default</argsstring>
|
||||
<name>operator=</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::operator=</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>other</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>Copy Assignment operator. </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="168" column="10"/>
|
||||
<location file="Exponential/Exponential.h" line="173" column="10"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ac8934939c219d782fd1e02bca393318d" prot="public" static="no" const="no" explicit="no" inline="no" noexcept="yes" virt="non-virtual">
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1af58e47ffa93dc7dd6b336327058731ff" prot="public" static="no" const="no" explicit="no" inline="no" noexcept="yes" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<definition>Function & JRAMPERSAD::EXPONENTIAL::Function< lrgst_expo >::operator=</definition>
|
||||
<definition>Function & JRAMPERSAD::EXPONENTIAL::Function::operator=</definition>
|
||||
<argsstring>(Function &&other) noexcept=default</argsstring>
|
||||
<name>operator=</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::operator=</qualifiedname>
|
||||
@@ -319,62 +302,122 @@
|
||||
<declname>other</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>Move Assignment operator. </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="169" column="10"/>
|
||||
<location file="Exponential/Exponential.h" line="175" column="10"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a71628f495a8a26f9584487abf05293b8" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">lrgst_expo</ref> > &</type>
|
||||
<definition>Function< lrgst_expo > & JRAMPERSAD::EXPONENTIAL::Function< lrgst_expo >::operator*=</definition>
|
||||
<argsstring>(const int &c)</argsstring>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ac27a8c4c7a6b39d087c8c20a63756cb3" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void JRAMPERSAD::EXPONENTIAL::Function::SetConstants</definition>
|
||||
<argsstring>(const std::vector< int64_t > &constnts)</argsstring>
|
||||
<name>SetConstants</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::SetConstants</qualifiedname>
|
||||
<param>
|
||||
<type>const std::vector< int64_t > &</type>
|
||||
<declname>constnts</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>Sets the constants of the function. </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>constnts</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>An array with the constants for the function (e.g 2, 1, 3 = 2x^2 + 1x - 3) size of array MUST be lrgst_expo + 1 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="181" column="6" bodyfile="Exponential/Exponential.h" bodystart="269" bodyend="279"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a6f92240916726bfa24fea0f846381060" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>void</type>
|
||||
<definition>void JRAMPERSAD::EXPONENTIAL::Function::SetConstants</definition>
|
||||
<argsstring>(std::vector< int64_t > &&constnts)</argsstring>
|
||||
<name>SetConstants</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::SetConstants</qualifiedname>
|
||||
<param>
|
||||
<type>std::vector< int64_t > &&</type>
|
||||
<declname>constnts</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para>Sets the constants of the function. </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>constnts</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>An array with the constants for the function (e.g 2, 1, 3 = 2x^2 + 1x - 3) size of array MUST be lrgst_expo + 1 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="186" column="6" bodyfile="Exponential/Exponential.h" bodystart="281" bodyend="291"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a24f53f18a66c4911c9ec89f98b2f6781" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<definition>Function & JRAMPERSAD::EXPONENTIAL::Function::operator*=</definition>
|
||||
<argsstring>(const int64_t &c)</argsstring>
|
||||
<name>operator*=</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::operator*=</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref> &</type>
|
||||
<type>const int64_t &</type>
|
||||
<declname>c</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para>Operator to multiply a function by a constant (Scaling it) </para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="234" column="10" bodyfile="Exponential/Exponential.h" bodystart="234" bodyend="243"/>
|
||||
<location file="Exponential/Exponential.h" line="194" column="10" bodyfile="Exponential/Exponential.h" bodystart="474" bodyend="492"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ae43c705b427ac1ef27aed061a63e500e" prot="public" static="no" const="yes" explicit="no" inline="no" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">lrgst_expo</ref> - 1 ></type>
|
||||
<definition>Function< lrgst_expo - 1 > JRAMPERSAD::EXPONENTIAL::Function< lrgst_expo >::differential</definition>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1af05a7be6e85e4879185a84dc32cdf79c" prot="public" static="no" const="yes" explicit="no" inline="no" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref></type>
|
||||
<definition>Function JRAMPERSAD::EXPONENTIAL::Function::differential</definition>
|
||||
<argsstring>() const</argsstring>
|
||||
<name>differential</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::differential</qualifiedname>
|
||||
<briefdescription>
|
||||
<para>Calculates the differential (dy/dx) of the function. </para>
|
||||
<para>Calculates the differential (dy/dx) of the <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>. </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><simplesect kind="return"><para>a function representing the differential (dy/dx) of the calling function object </para>
|
||||
<para><simplesect kind="return"><para>a <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> representing the differential (dy/dx) of the calling function object </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="250" column="10" bodyfile="Exponential/Exponential.h" bodystart="405" bodyend="417"/>
|
||||
<location file="Exponential/Exponential.h" line="201" column="10" bodyfile="Exponential/Exponential.h" bodystart="494" bodyend="518"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ad090de9f6636094f14f1279615fccbc0" prot="public" static="no" const="yes" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>std::vector< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref> ></type>
|
||||
<definition>std::vector< double > JRAMPERSAD::EXPONENTIAL::Function< lrgst_expo >::get_real_roots</definition>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a2fe7e79ec57cb7160c783c20870fe855" prot="public" static="no" const="yes" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>std::vector< double ></type>
|
||||
<definition>std::vector< double > JRAMPERSAD::EXPONENTIAL::Function::get_real_roots</definition>
|
||||
<argsstring>(const GA_Options &options=GA_Options()) const</argsstring>
|
||||
<name>get_real_roots</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::get_real_roots</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options" kindref="compound">GA_Options</ref> &</type>
|
||||
<type>const <ref refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options" kindref="compound">GA_Options</ref> &</type>
|
||||
<declname>options</declname>
|
||||
<defval><ref refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options" kindref="compound">GA_Options</ref>()</defval>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> that uses a genetic algorithm to find the approximate roots of the function. </para>
|
||||
<para>Uses a genetic algorithm to find the approximate roots of the function. </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
@@ -392,20 +435,20 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="257" column="14" bodyfile="Exponential/Exponential.h" bodystart="420" bodyend="496"/>
|
||||
<location file="Exponential/Exponential.h" line="208" column="14" bodyfile="Exponential/Exponential.h" bodystart="520" bodyend="605"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5464547daff0c43faccdc40ea480bab4" prot="public" static="no" const="yes" explicit="no" inline="no" noexcept="yes" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref></type>
|
||||
<definition>double JRAMPERSAD::EXPONENTIAL::Function< lrgst_expo >::solve_y</definition>
|
||||
<argsstring>(const double &x_val) const noexcept</argsstring>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a3df87946deead508714d3d6da50231ef" prot="public" static="no" const="yes" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>double</type>
|
||||
<definition>double JRAMPERSAD::EXPONENTIAL::Function::solve_y</definition>
|
||||
<argsstring>(const double &x_val) const</argsstring>
|
||||
<name>solve_y</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::solve_y</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref> &</type>
|
||||
<type>const double &</type>
|
||||
<declname>x_val</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> that solves for y when x = user value. </para>
|
||||
<para>Solves for y when x = user value. </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
@@ -423,25 +466,25 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="264" column="9" bodyfile="Exponential/Exponential.h" bodystart="499" bodyend="514"/>
|
||||
<location file="Exponential/Exponential.h" line="215" column="9" bodyfile="Exponential/Exponential.h" bodystart="607" bodyend="624"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a46b9671c4a29b2b2b34586048a3b795a" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="non-virtual">
|
||||
<type>std::vector< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref> ></type>
|
||||
<definition>std::vector< double > JRAMPERSAD::EXPONENTIAL::Function< lrgst_expo >::solve_x</definition>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ac6f66aef23d97a47707796a9891fda80" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="non-virtual">
|
||||
<type>std::vector< double ></type>
|
||||
<definition>std::vector< double > JRAMPERSAD::EXPONENTIAL::Function::solve_x</definition>
|
||||
<argsstring>(const double &y_val, const GA_Options &options=GA_Options()) const</argsstring>
|
||||
<name>solve_x</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::solve_x</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref> &</type>
|
||||
<type>const double &</type>
|
||||
<declname>y_val</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options" kindref="compound">GA_Options</ref> &</type>
|
||||
<type>const <ref refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options" kindref="compound">GA_Options</ref> &</type>
|
||||
<declname>options</declname>
|
||||
<defval><ref refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options" kindref="compound">GA_Options</ref>()</defval>
|
||||
</param>
|
||||
<briefdescription>
|
||||
<para><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> that uses a genetic algorithm to find the values of x where y = user value. </para>
|
||||
<para>Uses a genetic algorithm to find the values of x where y = user value. </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="param"><parameteritem>
|
||||
@@ -467,44 +510,56 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="272" column="14" bodyfile="Exponential/Exponential.h" bodystart="517" bodyend="592"/>
|
||||
<location file="Exponential/Exponential.h" line="223" column="14" bodyfile="Exponential/Exponential.h" bodystart="626" bodyend="710"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a8e355925ec8a283ad7a74a5c4832d4a8" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="non-virtual">
|
||||
<type>auto</type>
|
||||
<definition>auto JRAMPERSAD::EXPONENTIAL::Function::GetWhatIsTheLargestExponent</definition>
|
||||
<argsstring>() const</argsstring>
|
||||
<name>GetWhatIsTheLargestExponent</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::Function::GetWhatIsTheLargestExponent</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><simplesect kind="return"><para>lrgst_expo </para>
|
||||
</simplesect>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="226" column="7" bodyfile="Exponential/Exponential.h" bodystart="226" bodyend="226"/>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
<para>A class representing an Exponential <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> (e.g 2x^2 + 4x - 1),. </para>
|
||||
<para>class representing an Exponential <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> (e.g 2x^2 + 4x - 1) </para>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para><parameterlist kind="templateparam"><parameteritem>
|
||||
<parameternamelist>
|
||||
<parametername>lrgst_expo</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>The largest exponent in the function (e.g 2 means largest exponent is x^2) </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
</para>
|
||||
</detaileddescription>
|
||||
<location file="Exponential/Exponential.h" line="144" column="1" bodyfile="Exponential/Exponential.h" bodystart="145" bodyend="273"/>
|
||||
<location file="Exponential/Exponential.h" line="141" column="1" bodyfile="Exponential/Exponential.h" bodystart="142" bodyend="227"/>
|
||||
<listofallmembers>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a77a9d035d39b19c73c1c58d76aaa7820" prot="private" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>constants</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ae43c705b427ac1ef27aed061a63e500e" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>differential</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a7216329180e93c93204f4061be9e560b" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a38038a3b3f371ca62098ad4d4c510966" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1aaafd98fd5dc5d0f9e4503bed1d49d323" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ad090de9f6636094f14f1279615fccbc0" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>get_real_roots</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ae95957956718c40093891faf8dd52b0e" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>operator*</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a71628f495a8a26f9584487abf05293b8" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>operator*=</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a08885f8e67d9d34770121c63c16f2eea" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>operator+</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1afde1d3a278a171c30ff0ff00f65d120e" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>operator-</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5de27194ad9a38f44771637a0f187562" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>operator<<</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5c6ff5d442c8a74503312fb6bc75a1ff" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>operator=</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ac8934939c219d782fd1e02bca393318d" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>operator=</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a8f5b8975b6e7318c093a963cd0b43db6" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>QuadraticSolve</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a46b9671c4a29b2b2b34586048a3b795a" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>solve_x</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5464547daff0c43faccdc40ea480bab4" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>solve_y</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a808783ae8be714fbbc5ddbd71db5ba30" prot="public" virt="virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>~Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ae2fc8499e47324a7ca65c20996119f1b" prot="private" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>bInitialized</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ab64518ac4650ef1a33ed80b285b0e7fc" prot="private" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>CanPerform</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a8539119d87e133fc25fdd7c90c081e3e" prot="private" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>constants</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1af05a7be6e85e4879185a84dc32cdf79c" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>differential</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a771e5f172d0738a6b56a3406ddea5779" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a2d7ac0d79af16746f89309f758adf40c" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a2f4cd78e5a95d1862b4389e81ef136da" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a2fe7e79ec57cb7160c783c20870fe855" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>get_real_roots</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a8e355925ec8a283ad7a74a5c4832d4a8" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>GetWhatIsTheLargestExponent</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a1918ec5f094574f4a43f51e3d4fd5016" prot="private" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>lrgst_expo</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5bb4eeaf7c3f6efe1c4eb1cd128d0d5e" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>operator*</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a24f53f18a66c4911c9ec89f98b2f6781" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>operator*=</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ac67d5be3dac9ab01eca47b11aaadb786" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>operator+</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5e5034306a381d48ef50cce10f8f76c8" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>operator-</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a9715ead4f7565aea73b2b956d32a8c2e" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>operator<<</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a450305ad4a40a262d378b3781d87a043" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>operator=</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1af58e47ffa93dc7dd6b336327058731ff" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>operator=</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a9d14c1b8a7401565a054837df5708ac8" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>QuadraticSolve</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ac27a8c4c7a6b39d087c8c20a63756cb3" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>SetConstants</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a6f92240916726bfa24fea0f846381060" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>SetConstants</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ac6f66aef23d97a47707796a9891fda80" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>solve_x</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a3df87946deead508714d3d6da50231ef" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>solve_y</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1afc95333a173bc120f6f9519dae853b3a" prot="public" virt="virtual"><scope>JRAMPERSAD::EXPONENTIAL::Function</scope><name>~Function</name></member>
|
||||
</listofallmembers>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
||||
<doxygenindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="index.xsd" version="1.9.8" xml:lang="en-US">
|
||||
<compound refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kind="class"><name>JRAMPERSAD::EXPONENTIAL::Function</name>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a77a9d035d39b19c73c1c58d76aaa7820" kind="variable"><name>constants</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a8f5b8975b6e7318c093a963cd0b43db6" kind="friend"><name>QuadraticSolve</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5de27194ad9a38f44771637a0f187562" kind="friend"><name>operator<<</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a08885f8e67d9d34770121c63c16f2eea" kind="friend"><name>operator+</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1afde1d3a278a171c30ff0ff00f65d120e" kind="friend"><name>operator-</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ae95957956718c40093891faf8dd52b0e" kind="friend"><name>operator*</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a0585614da72409acfbed262411ea7882" kind="function"><name>Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a7216329180e93c93204f4061be9e560b" kind="function"><name>Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a38038a3b3f371ca62098ad4d4c510966" kind="function"><name>Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1aaafd98fd5dc5d0f9e4503bed1d49d323" kind="function"><name>Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a808783ae8be714fbbc5ddbd71db5ba30" kind="function"><name>~Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5c6ff5d442c8a74503312fb6bc75a1ff" kind="function"><name>operator=</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ac8934939c219d782fd1e02bca393318d" kind="function"><name>operator=</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a71628f495a8a26f9584487abf05293b8" kind="function"><name>operator*=</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ae43c705b427ac1ef27aed061a63e500e" kind="function"><name>differential</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ad090de9f6636094f14f1279615fccbc0" kind="function"><name>get_real_roots</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5464547daff0c43faccdc40ea480bab4" kind="function"><name>solve_y</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a46b9671c4a29b2b2b34586048a3b795a" kind="function"><name>solve_x</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a1918ec5f094574f4a43f51e3d4fd5016" kind="variable"><name>lrgst_expo</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a8539119d87e133fc25fdd7c90c081e3e" kind="variable"><name>constants</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ae2fc8499e47324a7ca65c20996119f1b" kind="variable"><name>bInitialized</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ab64518ac4650ef1a33ed80b285b0e7fc" kind="function"><name>CanPerform</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a9d14c1b8a7401565a054837df5708ac8" kind="friend"><name>QuadraticSolve</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a9715ead4f7565aea73b2b956d32a8c2e" kind="friend"><name>operator<<</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ac67d5be3dac9ab01eca47b11aaadb786" kind="friend"><name>operator+</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5e5034306a381d48ef50cce10f8f76c8" kind="friend"><name>operator-</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a5bb4eeaf7c3f6efe1c4eb1cd128d0d5e" kind="friend"><name>operator*</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a771e5f172d0738a6b56a3406ddea5779" kind="function"><name>Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1afc95333a173bc120f6f9519dae853b3a" kind="function"><name>~Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a2d7ac0d79af16746f89309f758adf40c" kind="function"><name>Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a2f4cd78e5a95d1862b4389e81ef136da" kind="function"><name>Function</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a450305ad4a40a262d378b3781d87a043" kind="function"><name>operator=</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1af58e47ffa93dc7dd6b336327058731ff" kind="function"><name>operator=</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ac27a8c4c7a6b39d087c8c20a63756cb3" kind="function"><name>SetConstants</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a6f92240916726bfa24fea0f846381060" kind="function"><name>SetConstants</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a24f53f18a66c4911c9ec89f98b2f6781" kind="function"><name>operator*=</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1af05a7be6e85e4879185a84dc32cdf79c" kind="function"><name>differential</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a2fe7e79ec57cb7160c783c20870fe855" kind="function"><name>get_real_roots</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a3df87946deead508714d3d6da50231ef" kind="function"><name>solve_y</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1ac6f66aef23d97a47707796a9891fda80" kind="function"><name>solve_x</name></member>
|
||||
<member refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function_1a8e355925ec8a283ad7a74a5c4832d4a8" kind="function"><name>GetWhatIsTheLargestExponent</name></member>
|
||||
</compound>
|
||||
<compound refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options" kind="struct"><name>JRAMPERSAD::EXPONENTIAL::GA_Options</name>
|
||||
<member refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options_1a316979973a2a6b70b00520c2f753a43c" kind="variable"><name>min_range</name></member>
|
||||
@@ -31,9 +36,11 @@
|
||||
<compound refid="namespace_j_r_a_m_p_e_r_s_a_d" kind="namespace"><name>JRAMPERSAD</name>
|
||||
</compound>
|
||||
<compound refid="namespace_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l" kind="namespace"><name>JRAMPERSAD::EXPONENTIAL</name>
|
||||
<member refid="_exponential_8h_1a74ba0c80c30d2b4a2746dcafafbb6331" kind="function"><name>QuadraticSolve</name></member>
|
||||
<member refid="_exponential_8h_1a949e2b83422e0ba69d947c8ae8b6b33e" kind="function"><name>operator+</name></member>
|
||||
<member refid="_exponential_8h_1a9c05c4f210dac69008764b974749d9d6" kind="function"><name>operator-</name></member>
|
||||
<member refid="_exponential_8h_1afbf8f9d0d82d0a543ba3f13fe888b3f0" kind="function"><name>QuadraticSolve</name></member>
|
||||
<member refid="_exponential_8h_1acc43d98b40363eca4193d6a37120db7d" kind="function"><name>operator<<</name></member>
|
||||
<member refid="_exponential_8h_1aa6d1335b2f46ca5c209acbfbc72c6108" kind="function"><name>operator+</name></member>
|
||||
<member refid="_exponential_8h_1afd853cdd6fe62dbc9ae6010a32d506ba" kind="function"><name>operator-</name></member>
|
||||
<member refid="_exponential_8h_1a5d967a0e13882cc4f945cba48582eaea" kind="function"><name>operator*</name></member>
|
||||
</compound>
|
||||
<compound refid="namespace_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail" kind="namespace"><name>JRAMPERSAD::EXPONENTIAL::detail</name>
|
||||
<member refid="_exponential_8h_1a18e931aadf93c46a7d2a70240273b744" kind="function"><name>ABS</name></member>
|
||||
@@ -47,12 +54,12 @@
|
||||
</compound>
|
||||
<compound refid="_exponential_8h" kind="file"><name>Exponential.h</name>
|
||||
<member refid="_exponential_8h_1aa9d24424a6f6e9452db8fba46dcdab18" kind="define"><name>JONATHAN_RAMPERSAD_EXPONENTIAL_H_</name></member>
|
||||
<member refid="_exponential_8h_1abef9739b51a95af438efa8deea6f6eab" kind="define"><name>INITIALIZE_EXPO_FUNCTION</name></member>
|
||||
</compound>
|
||||
<compound refid="_source_8cpp" kind="file"><name>Source.cpp</name>
|
||||
<member refid="_source_8cpp_1a58886021157a65d2d4b9c3f486ea5c2c" kind="typedef"><name>Function</name></member>
|
||||
<member refid="_source_8cpp_1abdf3aa0505635f2b960799972f78977d" kind="typedef"><name>timer</name></member>
|
||||
<member refid="_source_8cpp_1aaffba5622da3efcab3ef60638c23cd52" kind="function"><name>CalcRoots</name></member>
|
||||
<member refid="_source_8cpp_1aea271c738ee176b86ab545bac23336f6" kind="function"><name>SolveX</name></member>
|
||||
<member refid="_source_8cpp_1a31ce7c6b21345b4a0a49384fa59b77cb" kind="function"><name>CalcRoots</name></member>
|
||||
<member refid="_source_8cpp_1a4219e97cb99d992b2cdb7274a17b9436" kind="function"><name>SolveX</name></member>
|
||||
<member refid="_source_8cpp_1ae66f6b31b5ad750f1fe042a706a4e3d4" kind="function"><name>main</name></member>
|
||||
</compound>
|
||||
<compound refid="dir_47b71af010aaa4c53cfa8d8f5b85c863" kind="dir"><name>Exponential</name>
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
<innerclass refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options" prot="public">JRAMPERSAD::EXPONENTIAL::GA_Options</innerclass>
|
||||
<innernamespace refid="namespace_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail">JRAMPERSAD::EXPONENTIAL::detail</innernamespace>
|
||||
<sectiondef kind="func">
|
||||
<memberdef kind="function" id="_exponential_8h_1a74ba0c80c30d2b4a2746dcafafbb6331" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>std::vector< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref> ></type>
|
||||
<memberdef kind="function" id="_exponential_8h_1afbf8f9d0d82d0a543ba3f13fe888b3f0" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>std::vector< double ></type>
|
||||
<definition>std::vector< double > JRAMPERSAD::EXPONENTIAL::QuadraticSolve</definition>
|
||||
<argsstring>(const Function< 2 > &f)</argsstring>
|
||||
<argsstring>(const Function &f)</argsstring>
|
||||
<name>QuadraticSolve</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::QuadraticSolve</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< 2 > &</type>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>f</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
@@ -25,7 +25,7 @@
|
||||
<parametername>f</parametername>
|
||||
</parameternamelist>
|
||||
<parameterdescription>
|
||||
<para>Quadratic function you'd like to find the roots of (Quadratic <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> object is a Function<2> object </para>
|
||||
<para>Quadratic function you'd like to find the roots of (Quadratic <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> object is a <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> object who's lrgst_expo value = 2 </para>
|
||||
</parameterdescription>
|
||||
</parameteritem>
|
||||
</parameterlist>
|
||||
@@ -35,87 +35,99 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="280" column="13" bodyfile="Exponential/Exponential.h" bodystart="280" bodyend="298"/>
|
||||
<location file="Exponential/Exponential.h" line="234" column="13" bodyfile="Exponential/Exponential.h" bodystart="234" bodyend="262"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="_exponential_8h_1a949e2b83422e0ba69d947c8ae8b6b33e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<templateparamlist>
|
||||
<param>
|
||||
<type>int</type>
|
||||
<declname>e1</declname>
|
||||
<defname>e1</defname>
|
||||
</param>
|
||||
<param>
|
||||
<type>int</type>
|
||||
<declname>e2</declname>
|
||||
<defname>e2</defname>
|
||||
</param>
|
||||
<param>
|
||||
<type>int</type>
|
||||
<declname>r</declname>
|
||||
<defname>r</defname>
|
||||
<defval>(e1 > e2 ? e1 : e2)</defval>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">r</ref> ></type>
|
||||
<definition>Function< r > JRAMPERSAD::EXPONENTIAL::operator+</definition>
|
||||
<argsstring>(const Function< e1 > &f1, const Function< e2 > &f2)</argsstring>
|
||||
<memberdef kind="function" id="_exponential_8h_1acc43d98b40363eca4193d6a37120db7d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type>std::ostream &</type>
|
||||
<definition>std::ostream & JRAMPERSAD::EXPONENTIAL::operator<<</definition>
|
||||
<argsstring>(std::ostream &os, const Function func)</argsstring>
|
||||
<name>operator<<</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::operator<<</qualifiedname>
|
||||
<param>
|
||||
<type>std::ostream &</type>
|
||||
<declname>os</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref></type>
|
||||
<declname>func</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para>Operator function to display function object in a human readable format </para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="294" column="1" bodyfile="Exponential/Exponential.h" bodystart="294" bodyend="346"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="_exponential_8h_1aa6d1335b2f46ca5c209acbfbc72c6108" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref></type>
|
||||
<definition>Function JRAMPERSAD::EXPONENTIAL::operator+</definition>
|
||||
<argsstring>(const Function &f1, const Function &f2)</argsstring>
|
||||
<name>operator+</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::operator+</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">e1</ref> > &</type>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>f1</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">e2</ref> > &</type>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>f2</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para>Operator to add two functions </para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="301" column="10" bodyfile="Exponential/Exponential.h" bodystart="301" bodyend="330"/>
|
||||
<location file="Exponential/Exponential.h" line="349" column="10" bodyfile="Exponential/Exponential.h" bodystart="349" bodyend="394"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="_exponential_8h_1a9c05c4f210dac69008764b974749d9d6" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<templateparamlist>
|
||||
<param>
|
||||
<type>int</type>
|
||||
<declname>e1</declname>
|
||||
<defname>e1</defname>
|
||||
</param>
|
||||
<param>
|
||||
<type>int</type>
|
||||
<declname>e2</declname>
|
||||
<defname>e2</defname>
|
||||
</param>
|
||||
<param>
|
||||
<type>int</type>
|
||||
<declname>r</declname>
|
||||
<defname>r</defname>
|
||||
<defval>(e1 > e2 ? e1 : e2)</defval>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">r</ref> ></type>
|
||||
<definition>Function< r > JRAMPERSAD::EXPONENTIAL::operator-</definition>
|
||||
<argsstring>(const Function< e1 > &f1, const Function< e2 > &f2)</argsstring>
|
||||
<memberdef kind="function" id="_exponential_8h_1afd853cdd6fe62dbc9ae6010a32d506ba" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref></type>
|
||||
<definition>Function JRAMPERSAD::EXPONENTIAL::operator-</definition>
|
||||
<argsstring>(const Function &f1, const Function &f2)</argsstring>
|
||||
<name>operator-</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::operator-</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">e1</ref> > &</type>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>f1</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref>< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">e2</ref> > &</type>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>f2</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para>Operator to subtract two functions </para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="333" column="10" bodyfile="Exponential/Exponential.h" bodystart="333" bodyend="366"/>
|
||||
<location file="Exponential/Exponential.h" line="397" column="10" bodyfile="Exponential/Exponential.h" bodystart="397" bodyend="446"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="_exponential_8h_1a5d967a0e13882cc4f945cba48582eaea" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref></type>
|
||||
<definition>Function JRAMPERSAD::EXPONENTIAL::operator*</definition>
|
||||
<argsstring>(const Function &f, const int64_t &c)</argsstring>
|
||||
<name>operator*</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::operator*</qualifiedname>
|
||||
<param>
|
||||
<type>const <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">Function</ref> &</type>
|
||||
<declname>f</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type>const int64_t &</type>
|
||||
<declname>c</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
<para>Operator to multiply a function by a constant (Scaling it) </para>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="449" column="10" bodyfile="Exponential/Exponential.h" bodystart="449" bodyend="471"/>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
<type>typename T</type>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">T</ref></type>
|
||||
<type>T</type>
|
||||
<definition>T JRAMPERSAD::EXPONENTIAL::detail::ABS</definition>
|
||||
<argsstring>(const T &n) noexcept</argsstring>
|
||||
<name>ABS</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::ABS</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">T</ref> &</type>
|
||||
<type>const T &</type>
|
||||
<declname>n</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
@@ -24,7 +24,7 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="40" column="4" bodyfile="Exponential/Exponential.h" bodystart="40" bodyend="43"/>
|
||||
<location file="Exponential/Exponential.h" line="39" column="4" bodyfile="Exponential/Exponential.h" bodystart="39" bodyend="42"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="_exponential_8h_1ad8c0061f5d379beb5478b7a0b73325b4" prot="public" static="no" const="no" explicit="no" inline="no" noexcept="yes" virt="non-virtual">
|
||||
<templateparamlist>
|
||||
@@ -32,13 +32,13 @@
|
||||
<type>typename T</type>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">T</ref></type>
|
||||
<type>T</type>
|
||||
<definition>T JRAMPERSAD::EXPONENTIAL::detail::NEGATE</definition>
|
||||
<argsstring>(const T &n) noexcept</argsstring>
|
||||
<name>NEGATE</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::NEGATE</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">T</ref> &</type>
|
||||
<type>const T &</type>
|
||||
<declname>n</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
@@ -47,7 +47,7 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="46" column="4" bodyfile="Exponential/Exponential.h" bodystart="46" bodyend="49"/>
|
||||
<location file="Exponential/Exponential.h" line="45" column="4" bodyfile="Exponential/Exponential.h" bodystart="45" bodyend="48"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="_exponential_8h_1a2bac2791c00b5a563a7bf60c422e9709" prot="public" static="no" const="no" explicit="no" inline="no" noexcept="yes" virt="non-virtual">
|
||||
<templateparamlist>
|
||||
@@ -55,17 +55,17 @@
|
||||
<type>typename T</type>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">T</ref></type>
|
||||
<type>T</type>
|
||||
<definition>T JRAMPERSAD::EXPONENTIAL::detail::POW</definition>
|
||||
<argsstring>(const T &n, const int &exp) noexcept</argsstring>
|
||||
<name>POW</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::POW</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">T</ref> &</type>
|
||||
<type>const T &</type>
|
||||
<declname>n</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref> &</type>
|
||||
<type>const int &</type>
|
||||
<declname>exp</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
@@ -74,7 +74,7 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="52" column="4" bodyfile="Exponential/Exponential.h" bodystart="52" bodyend="64"/>
|
||||
<location file="Exponential/Exponential.h" line="51" column="4" bodyfile="Exponential/Exponential.h" bodystart="51" bodyend="63"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="_exponential_8h_1a151665afe2284333a8407d99721a823d" prot="public" static="no" const="no" explicit="no" inline="no" noexcept="yes" virt="non-virtual">
|
||||
<templateparamlist>
|
||||
@@ -82,13 +82,13 @@
|
||||
<type>typename T</type>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">T</ref></type>
|
||||
<type>T</type>
|
||||
<definition>T JRAMPERSAD::EXPONENTIAL::detail::SUM</definition>
|
||||
<argsstring>(const std::vector< T > &vec) noexcept</argsstring>
|
||||
<name>SUM</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::SUM</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> std::vector< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">T</ref> > &</type>
|
||||
<type>const std::vector< T > &</type>
|
||||
<declname>vec</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
@@ -97,7 +97,7 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="67" column="4" bodyfile="Exponential/Exponential.h" bodystart="67" bodyend="73"/>
|
||||
<location file="Exponential/Exponential.h" line="66" column="4" bodyfile="Exponential/Exponential.h" bodystart="66" bodyend="72"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="_exponential_8h_1a70f3fa407240a86fc80a12e0bfb161b1" prot="public" static="no" const="no" explicit="no" inline="no" noexcept="yes" virt="non-virtual">
|
||||
<templateparamlist>
|
||||
@@ -105,13 +105,13 @@
|
||||
<type>typename T</type>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">T</ref></type>
|
||||
<type>T</type>
|
||||
<definition>T JRAMPERSAD::EXPONENTIAL::detail::MEDIAN</definition>
|
||||
<argsstring>(std::vector< T > vec) noexcept</argsstring>
|
||||
<name>MEDIAN</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::MEDIAN</qualifiedname>
|
||||
<param>
|
||||
<type>std::vector< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">T</ref> ></type>
|
||||
<type>std::vector< T ></type>
|
||||
<declname>vec</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
@@ -120,7 +120,7 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="76" column="4" bodyfile="Exponential/Exponential.h" bodystart="76" bodyend="86"/>
|
||||
<location file="Exponential/Exponential.h" line="75" column="4" bodyfile="Exponential/Exponential.h" bodystart="75" bodyend="85"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="_exponential_8h_1a8b5d80226dd572f405a738362a65d42a" prot="public" static="no" const="no" explicit="no" inline="no" noexcept="yes" virt="non-virtual">
|
||||
<templateparamlist>
|
||||
@@ -128,13 +128,13 @@
|
||||
<type>typename T</type>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref></type>
|
||||
<type>double</type>
|
||||
<definition>double JRAMPERSAD::EXPONENTIAL::detail::MEAN</definition>
|
||||
<argsstring>(const std::vector< T > &vec) noexcept</argsstring>
|
||||
<name>MEAN</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::MEAN</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> std::vector< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">T</ref> > &</type>
|
||||
<type>const std::vector< T > &</type>
|
||||
<declname>vec</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
@@ -143,7 +143,7 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="89" column="9" bodyfile="Exponential/Exponential.h" bodystart="89" bodyend="92"/>
|
||||
<location file="Exponential/Exponential.h" line="88" column="9" bodyfile="Exponential/Exponential.h" bodystart="88" bodyend="91"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="_exponential_8h_1af8429cc7e6d21e47d3aabcf82fea1b61" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<templateparamlist>
|
||||
@@ -151,13 +151,13 @@
|
||||
<type>typename T</type>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">void</ref></type>
|
||||
<type>void</type>
|
||||
<definition>void JRAMPERSAD::EXPONENTIAL::detail::SortASC</definition>
|
||||
<argsstring>(std::vector< T > &vec)</argsstring>
|
||||
<name>SortASC</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::SortASC</qualifiedname>
|
||||
<param>
|
||||
<type>std::vector< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">T</ref> > &</type>
|
||||
<type>std::vector< T > &</type>
|
||||
<declname>vec</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
@@ -166,7 +166,7 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="95" column="7" bodyfile="Exponential/Exponential.h" bodystart="95" bodyend="103"/>
|
||||
<location file="Exponential/Exponential.h" line="94" column="7" bodyfile="Exponential/Exponential.h" bodystart="94" bodyend="102"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="_exponential_8h_1a4bce0c855a68d504f23c7c1cfd4314ef" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
||||
<templateparamlist>
|
||||
@@ -174,13 +174,13 @@
|
||||
<type>typename T</type>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">void</ref></type>
|
||||
<type>void</type>
|
||||
<definition>void JRAMPERSAD::EXPONENTIAL::detail::SortDESC</definition>
|
||||
<argsstring>(std::vector< T > &vec)</argsstring>
|
||||
<name>SortDESC</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::SortDESC</qualifiedname>
|
||||
<param>
|
||||
<type>std::vector< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">T</ref> > &</type>
|
||||
<type>std::vector< T > &</type>
|
||||
<declname>vec</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
@@ -189,13 +189,13 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="106" column="7" bodyfile="Exponential/Exponential.h" bodystart="106" bodyend="114"/>
|
||||
<location file="Exponential/Exponential.h" line="105" column="7" bodyfile="Exponential/Exponential.h" bodystart="105" bodyend="113"/>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<location file="Exponential/Exponential.h" line="37" column="1"/>
|
||||
<location file="Exponential/Exponential.h" line="36" column="1"/>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<includes refid="_exponential_8h" local="no">Exponential.h</includes>
|
||||
<sectiondef kind="public-attrib">
|
||||
<memberdef kind="variable" id="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options_1a316979973a2a6b70b00520c2f753a43c" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref></type>
|
||||
<type>double</type>
|
||||
<definition>double JRAMPERSAD::EXPONENTIAL::GA_Options::min_range</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>min_range</name>
|
||||
@@ -18,10 +18,10 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="24" column="8" bodyfile="Exponential/Exponential.h" bodystart="24" bodyend="-1"/>
|
||||
<location file="Exponential/Exponential.h" line="23" column="8" bodyfile="Exponential/Exponential.h" bodystart="23" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options_1a9b8f1e5367f6b0d8b16eecaea53b40e2" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref></type>
|
||||
<type>double</type>
|
||||
<definition>double JRAMPERSAD::EXPONENTIAL::GA_Options::max_range</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>max_range</name>
|
||||
@@ -34,10 +34,10 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="26" column="8" bodyfile="Exponential/Exponential.h" bodystart="26" bodyend="-1"/>
|
||||
<location file="Exponential/Exponential.h" line="25" column="8" bodyfile="Exponential/Exponential.h" bodystart="25" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options_1a4a67bad303f8a4fca40020a0802524c5" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">unsigned</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref></type>
|
||||
<type>unsigned int</type>
|
||||
<definition>unsigned int JRAMPERSAD::EXPONENTIAL::GA_Options::num_of_generations</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>num_of_generations</name>
|
||||
@@ -50,10 +50,10 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="28" column="14" bodyfile="Exponential/Exponential.h" bodystart="28" bodyend="-1"/>
|
||||
<location file="Exponential/Exponential.h" line="27" column="14" bodyfile="Exponential/Exponential.h" bodystart="27" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options_1ad133af29dbbc26b8c3d507d359c03326" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">unsigned</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref></type>
|
||||
<type>unsigned int</type>
|
||||
<definition>unsigned int JRAMPERSAD::EXPONENTIAL::GA_Options::sample_size</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>sample_size</name>
|
||||
@@ -66,10 +66,10 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="30" column="14" bodyfile="Exponential/Exponential.h" bodystart="30" bodyend="-1"/>
|
||||
<location file="Exponential/Exponential.h" line="29" column="14" bodyfile="Exponential/Exponential.h" bodystart="29" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options_1a6ec95fe6cc95dc32727659cf5bb1be12" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">unsigned</ref> <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref></type>
|
||||
<type>unsigned int</type>
|
||||
<definition>unsigned int JRAMPERSAD::EXPONENTIAL::GA_Options::data_size</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>data_size</name>
|
||||
@@ -82,10 +82,10 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="32" column="14" bodyfile="Exponential/Exponential.h" bodystart="32" bodyend="-1"/>
|
||||
<location file="Exponential/Exponential.h" line="31" column="14" bodyfile="Exponential/Exponential.h" bodystart="31" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options_1a736488b3cfeebda7b93b3e8c6f576bf8" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref></type>
|
||||
<type>double</type>
|
||||
<definition>double JRAMPERSAD::EXPONENTIAL::GA_Options::mutation_percentage</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>mutation_percentage</name>
|
||||
@@ -98,7 +98,7 @@
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="34" column="8" bodyfile="Exponential/Exponential.h" bodystart="34" bodyend="-1"/>
|
||||
<location file="Exponential/Exponential.h" line="33" column="8" bodyfile="Exponential/Exponential.h" bodystart="33" bodyend="-1"/>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
@@ -106,7 +106,7 @@
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<location file="Exponential/Exponential.h" line="21" column="1" bodyfile="Exponential/Exponential.h" bodystart="22" bodyend="35"/>
|
||||
<location file="Exponential/Exponential.h" line="20" column="1" bodyfile="Exponential/Exponential.h" bodystart="21" bodyend="34"/>
|
||||
<listofallmembers>
|
||||
<member refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options_1a6ec95fe6cc95dc32727659cf5bb1be12" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::GA_Options</scope><name>data_size</name></member>
|
||||
<member refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_g_a___options_1a9b8f1e5367f6b0d8b16eecaea53b40e2" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::GA_Options</scope><name>max_range</name></member>
|
||||
|
||||
@@ -1,161 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
||||
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.9.8" xml:lang="en-US">
|
||||
<compounddef id="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution" kind="struct" language="C++" prot="public">
|
||||
<compoundname>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution</compoundname>
|
||||
<templateparamlist>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref></type>
|
||||
<declname>lrgst_expo</declname>
|
||||
<defname>lrgst_expo</defname>
|
||||
</param>
|
||||
</templateparamlist>
|
||||
<sectiondef kind="public-attrib">
|
||||
<memberdef kind="variable" id="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1a2e3723b62d3f4bac9e4cc573fd64e84c" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref></type>
|
||||
<definition>double JRAMPERSAD::EXPONENTIAL::detail::GA_Solution< lrgst_expo >::rank</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>rank</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution::rank</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="119" column="8" bodyfile="Exponential/Exponential.h" bodystart="119" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1a7d57801b01fab757029663439f04af65" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref></type>
|
||||
<definition>double JRAMPERSAD::EXPONENTIAL::detail::GA_Solution< lrgst_expo >::x</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>x</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution::x</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="119" column="13" bodyfile="Exponential/Exponential.h" bodystart="119" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1a9d6a8fae4ccfaeb1ce20afecb67c84ff" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref></type>
|
||||
<definition>double JRAMPERSAD::EXPONENTIAL::detail::GA_Solution< lrgst_expo >::y_val</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>y_val</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution::y_val</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="119" column="15" bodyfile="Exponential/Exponential.h" bodystart="119" bodyend="-1"/>
|
||||
</memberdef>
|
||||
<memberdef kind="variable" id="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1adc3ef46c48fc4b5a202131921f5c2a5f" prot="public" static="no" mutable="no">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">bool</ref></type>
|
||||
<definition>bool JRAMPERSAD::EXPONENTIAL::detail::GA_Solution< lrgst_expo >::ranked</definition>
|
||||
<argsstring></argsstring>
|
||||
<name>ranked</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution::ranked</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="120" column="6" bodyfile="Exponential/Exponential.h" bodystart="120" bodyend="-1"/>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<sectiondef kind="public-func">
|
||||
<memberdef kind="function" id="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1a170516426e2b8aed6077eca183838ac7" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
|
||||
<type></type>
|
||||
<definition>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution< lrgst_expo >::GA_Solution</definition>
|
||||
<argsstring>()</argsstring>
|
||||
<name>GA_Solution</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution::GA_Solution</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="122" column="1" bodyfile="Exponential/Exponential.h" bodystart="122" bodyend="122"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1a6cf25d21664ed2bd25b37ce771450dc4" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
|
||||
<type></type>
|
||||
<definition>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution< lrgst_expo >::GA_Solution</definition>
|
||||
<argsstring>(double Rank, double x_val, double y=0)</argsstring>
|
||||
<name>GA_Solution</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution::GA_Solution</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref></type>
|
||||
<declname>Rank</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref></type>
|
||||
<declname>x_val</declname>
|
||||
</param>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">double</ref></type>
|
||||
<declname>y</declname>
|
||||
<defval>0</defval>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="123" column="1" bodyfile="Exponential/Exponential.h" bodystart="123" bodyend="123"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1a04b83401ae2f50216b67382b7c4bd237" prot="public" static="no" const="no" explicit="no" inline="no" virt="virtual">
|
||||
<type></type>
|
||||
<definition>virtual JRAMPERSAD::EXPONENTIAL::detail::GA_Solution< lrgst_expo >::~GA_Solution</definition>
|
||||
<argsstring>()=default</argsstring>
|
||||
<name>~GA_Solution</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution::~GA_Solution</qualifiedname>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="124" column="9"/>
|
||||
</memberdef>
|
||||
<memberdef kind="function" id="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1ac92bb2a2e6a4d39f555b907db40f46b0" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">void</ref></type>
|
||||
<definition>void JRAMPERSAD::EXPONENTIAL::detail::GA_Solution< lrgst_expo >::fitness</definition>
|
||||
<argsstring>(const std::vector< int > &constants)</argsstring>
|
||||
<name>fitness</name>
|
||||
<qualifiedname>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution::fitness</qualifiedname>
|
||||
<param>
|
||||
<type><ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">const</ref> std::vector< <ref refid="class_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1_function" kindref="compound">int</ref> > &</type>
|
||||
<declname>constants</declname>
|
||||
</param>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<inbodydescription>
|
||||
</inbodydescription>
|
||||
<location file="Exponential/Exponential.h" line="126" column="6" bodyfile="Exponential/Exponential.h" bodystart="126" bodyend="134"/>
|
||||
</memberdef>
|
||||
</sectiondef>
|
||||
<briefdescription>
|
||||
</briefdescription>
|
||||
<detaileddescription>
|
||||
</detaileddescription>
|
||||
<location file="Exponential/Exponential.h" line="117" column="1" bodyfile="Exponential/Exponential.h" bodystart="118" bodyend="135"/>
|
||||
<listofallmembers>
|
||||
<member refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1ac92bb2a2e6a4d39f555b907db40f46b0" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution</scope><name>fitness</name></member>
|
||||
<member refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1a170516426e2b8aed6077eca183838ac7" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution</scope><name>GA_Solution</name></member>
|
||||
<member refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1a6cf25d21664ed2bd25b37ce771450dc4" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution</scope><name>GA_Solution</name></member>
|
||||
<member refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1a2e3723b62d3f4bac9e4cc573fd64e84c" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution</scope><name>rank</name></member>
|
||||
<member refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1adc3ef46c48fc4b5a202131921f5c2a5f" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution</scope><name>ranked</name></member>
|
||||
<member refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1a7d57801b01fab757029663439f04af65" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution</scope><name>x</name></member>
|
||||
<member refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1a9d6a8fae4ccfaeb1ce20afecb67c84ff" prot="public" virt="non-virtual"><scope>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution</scope><name>y_val</name></member>
|
||||
<member refid="struct_j_r_a_m_p_e_r_s_a_d_1_1_e_x_p_o_n_e_n_t_i_a_l_1_1detail_1_1_g_a___solution_1a04b83401ae2f50216b67382b7c4bd237" prot="public" virt="virtual"><scope>JRAMPERSAD::EXPONENTIAL::detail::GA_Solution</scope><name>~GA_Solution</name></member>
|
||||
</listofallmembers>
|
||||
</compounddef>
|
||||
</doxygen>
|
||||
Reference in New Issue
Block a user