Liking cljdoc? Tell your friends :D

nature.monitors

Helper functions to inspect generations and return run-time information, statistics, etc.

Helper functions to inspect generations and return run-time information, statistics, etc.
raw docstring

apply-monitorsclj/s

(apply-monitors monitors population current-generation)

Apply each function in monitors against population and current-generation

Apply each function in `monitors` against `population` and `current-generation`
sourceraw docstring

mk-monitorclj/s

(mk-monitor monitor-fn population current-generation)
(mk-monitor monitor-fn population current-generation format-fn)

Apply monitor-fn to the population and current-generation, and print the result. If a format-fn has been supplied, modify the output before printing. This is useful for separating the monitor code into a separate testable function.

Apply `monitor-fn` to the `population` and `current-generation`, and print the result.
If a `format-fn` has been supplied, modify the output before printing.
This is useful for separating the monitor code into a separate testable function.
sourceraw docstring

(print-best-solution population current-generation)

Finds the individual with the highest fitness in population, and prints it to std-out

Finds the individual with the highest fitness in `population`, and prints it to std-out
sourceraw docstring

(print-best-solution* population current-generation)

Finds the individual with the highest fitness in population

Finds the individual with the highest fitness in `population`
sourceraw docstring

(print-fitness-score-frequencies population current-generation)

Finds how frequently each fitness score is repeated across the population, and prints it to std-out

Finds how frequently each fitness score is repeated across the `population`, and prints it to std-out
sourceraw docstring

(print-fitness-score-frequencies* population current-generation)

Finds how frequently each fitness score is repeated across the population

Finds how frequently each fitness score is repeated across the `population`
sourceraw docstring

(print-solution-frequencies population current-generation)

Finds how frequently each genetic sequence is repeated across the population, and prints it to std-out

Finds how frequently each genetic sequence is repeated across the `population`, and prints it to std-out
sourceraw docstring

(print-solution-frequencies* population current-generation)

Finds how frequently each genetic sequence is repeated across the population

Finds how frequently each genetic sequence is repeated across the `population`
sourceraw docstring

(print-worst-solution population current-generation)

Finds the individual with the lowest fitness in population, and prints it to std-out

Finds the individual with the lowest fitness in `population`, and prints it to std-out
sourceraw docstring

(print-worst-solution* population current-generation)

Finds the individual with the lowest fitness in population

Finds the individual with the lowest fitness in `population`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close