public CMAParameters getDefaults(int N, int lambda) { CMAParameters p = new CMAParameters(); p.setLambda(lambda); p.supplementRemainders(N, new CMAOptions()); return(p); }
public CMAParameters getDefaults(int N) { if (N == 0) { error("default parameters needs dimension been set"); } CMAParameters p = new CMAParameters(); p.supplementRemainders(N, new CMAOptions()); return(p); }