Global Index (all files) (short | long) | Local contents | Local Index (files in subdir) (short | long)
ObjVal = objfun1(Chrom, P1, P2);
OBJective function for de jong's FUNction 1 This function implements the DE JONG function 1. Syntax: ObjVal = objfun1(Chrom, P1, P2) Input parameters: Chrom - Matrix containing the chromosomes of the current population. Each row corresponds to one individual's string representation. if Chrom == [NaN xxx], then special values will be returned xxx == 1 (or []) return boundaries xxx == 2 return title xxx == 3 return value of global minimum P1, P2 - Additional parameter Output parameters: ObjVal - Column vector containing the objective values of the individuals in the current population. if called with Chrom == [NaN xxx], then ObjVal contains xxx == 1, matrix with the boundaries of the function xxx == 2, text for the title of the graphic output xxx == 3, value of global minimum See also: objfun1a, objfun1b, objfun2, objfun6, objfun7, objfun8, objfun9, objfun10, initfun1
This function is called by | |
---|---|