Setting a seed population from the Matlab interface

This commit is contained in:
Marcel Kronfeld
2011-03-28 15:13:56 +00:00
parent 3e7ef7a9e5
commit 0c6685fa67
5 changed files with 76 additions and 4 deletions

View File

@@ -1,11 +1,17 @@
function desc = getDesc(int, ID)
% Return the String description of an indicated optimizer
% with member descriptions.
% For an integer ID, return the String description of the indicated optimizer
% with member descriptions. In case ID is of a different type, it is attempted
% to retrieve a String description for that object directly.
import eva2.gui.BeanInspector;
import eva2.server.modules.GOParameters;
import eva2.OptimizerFactory;
params = OptimizerFactory.getParams(ID, int.mp);
desc = BeanInspector.getDescription(params.getOptimizer, false);
if isnumeric(ID)
params = OptimizerFactory.getParams(ID, int.mp);
desc = BeanInspector.getDescription(params.getOptimizer, false);
else
desc = BeanInspector.getDescription(ID, false);
end