BehaviorSearch is a software tool to help with automating the exploration of agent-based models (ABMs), by using genetic algorithms and other heuristic techniques to search the parameter-space. BehaviorSearch interfaces with the popular NetLogo ABM development platform, to provide a low-threshold way to search for combinations of model parameter settings that will result in a specified target behavior.
Other
11
stars
6
forks
source link
Handle real-valued variables with fixed increments #10
Also, need to be careful about float rounding. MOEA used this for real-backed integers:
public static RealVariable newInt(int lowerBound, int upperBound) {return new RealVariable(lowerBound, Math.nextAfter((double)(upperBound+1), Double.NEGATIVE_INFINITY));}
Use clamping -- see: https://github.com/MOEAFramework/MOEAFramework/issues/106
Also, need to be careful about float rounding. MOEA used this for real-backed integers:
public static RealVariable newInt(int lowerBound, int upperBound) {
return new RealVariable(lowerBound, Math.nextAfter(
(double)(upperBound+1), Double.NEGATIVE_INFINITY));
}