C# Class ParamChanger, promenade

ファイルを表示 Open project: jarllarsson/promenade Class Usage Examples

Public Methods

Method Description
ParamChanger ( ) : System.Collections
change ( List p_params ) : List
change ( List p_params, List p_Pmin, List p_Pmax, int p_iteration ) : List

Private Methods

Method Description
getDeltaP ( List p_P ) : List

Generate DeltaP the change vector to be added to old P. It contains randomly activated slots. Not all parameters will thus be changed by this vector.

getDeltaP ( List p_P, List p_Pmin, List p_Pmax, int p_iteration ) : List

Generate DeltaP the change vector to be added to old P. It contains randomly activated slots. Not all parameters will thus be changed by this vector.

getMaxMinOfList ( List p_list, double &p_min, double &p_max ) : void
getMaxMinOfList ( List p_list, float &p_min, float &p_max ) : void
getS ( int p_size ) : List

Selection vector, determines wether the parameter at this position in the list should be changed. 20% probability of change.

Method Details

ParamChanger() public method

public ParamChanger ( ) : System.Collections
return System.Collections

change() public method

public change ( List p_params ) : List
p_params List
return List

change() public method

public change ( List p_params, List p_Pmin, List p_Pmax, int p_iteration ) : List
p_params List
p_Pmin List
p_Pmax List
p_iteration int
return List