Re: Genetic Algorithm in Clojure

2018-03-20 Thread Jose Figueroa Martinez
Hello, There are many parts of the genetic algorithm that can be parallelized. The most common part is the evaluation of each individual. You can start with that. Take your population and calculate the fitness of every member in a parallel way. Clojure has many mechanisms to use like pmap, futu

RE: Calling functions from within maps

2018-03-20 Thread Sean Corfield
As Erik said, you’re missing a paren: (map #(assoc % :sites (SITES-NAMES (:f_username %)) my-rows) Should be: (map #(assoc % :sites (SITES-NAMES (:f_username %))) my-rows) Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying

Re: Calling functions from within maps

2018-03-20 Thread Matching Socks
Why not provide a short, self-contained example that demonstrates the problem? And, by the way, are you using paredit or park fee? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note t

Genetic Algorithm in Clojure

2018-03-20 Thread Donato Cafarelli
Hi everybody, I need help! I got a lab project assignment that involves the following goal: parallelize a genetic algorithm with clojure language. What I need is a good algorithm. Any suggestions? Thank you very much -- You received this message because you are subscribed to the Google Groups