From 62f64dee6638d3fed25f4dd42fd2ed9e9e42091f Mon Sep 17 00:00:00 2001 From: Ashley Bao <abao2003@gmail.com> Date: Wed, 18 Jan 2023 17:17:05 -0500 Subject: [PATCH] Update Adding_Selection_Method.html --- docs/Adding_Selection_Method.html | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/docs/Adding_Selection_Method.html b/docs/Adding_Selection_Method.html index d5ae63a..6c78862 100644 --- a/docs/Adding_Selection_Method.html +++ b/docs/Adding_Selection_Method.html @@ -4,19 +4,17 @@ <ol> <li>Define a selection method function in <code>propeller.selection</code> that selects an individual from the population</li> <li>Add the selection method in <code>propeller.selection/select-parent</code> under the <code>case</code> call:</li> -</ol> + <pre><code class="language-clojure"> (defn select-parent "Selects a parent from the population using the specified method." [pop argmap] (case (:parent-selection argmap) :new-selection-method (new-selection-method ))) - ``` -3. When runnning a problem, specify the selection method in `:parent-selection`. -For example: - ``` - lein run -m propeller.problems.simple-regression :parent-selection :new-selection-method" - ``` - - </code></pre> + +<li>When runnning a problem, specify the selection method in <code>:parent-selection</code>. For example: +<pre><code>lein run -m propeller.problems.simple-regression :parent-selection :new-selection-method" +</code></pre> +</li> +</ol> </div></div></div></body></html> \ No newline at end of file