Hi,
I’ve had a good trawl through and found quite a few posts and examples of how to control the number of genes in a gene pool, and also their current value and their domain. However for all examples I found, the domain is set for all genes concurrently. What I really need to do is set the range for each gene individually.
Why you may ask? I have a variable number of sliders/genes that I need to input into Galapagos. Currently I’ve been using sliders and Metahopper’s set slider component which works well. However, going forward I’ll need to have a variable number of sliders, so I’d need a way of generating/deleting sliders dynamically. Obviously I’d then need to connect these individually into the Galapagos input which isn’t ideal. Hence now why I want to pursue the controllable genepool route.
Any guidance would be much appreciated! Ideally I’d like to build something in GHPython but any advice would be great.
FYI I’ve tried things like Heteroptera’s GenePool controller, but as mentioned this doesn’t allow you to set gene ranges individually. Also not keen to remap the domain afterwards as (if I’m correct here) Galapagos may continue to manipulate the input slider while the output value doesnt change. For example if the slider can go from 0-10 but the remapped domain is only from 0-2, then Galapagos could spent time in the 0-5 range and not see any change in fitness which weakens the algorithm
Thanks!