Documentation of objridge
Global Index (all files) (short | long)
| Local contents
| Local Index (files in subdir) (short | long)
ObjVal = objridge(Chrom, P1, P2)
OBJective function RIDGE
This function implements the coninuous and discrete variant of the
Ridge function. The global minimum is a narrow ridge along the axis
of the first variable.
This function was defined as stepfun5 function in:
Jain, Clusterbasierte Abbruchkriterien fuer den Evolutionaeren Test.
Diploma-thesis, Technical University of Berlin, Department of
Computer Science, chapter 5.1, 1999.
in order to investigate the behaviour of clusterbased termination
criteria in narrow ridges.
Syntax: ObjVal = objridge(Chrom, P1, P2)
Chrom - Matrix containing the chromosomes of the current
population. Each row corresponds to one individual's
If Chrom == [NaN xxx] or
Chrom == [NaN xxx yyy],
then special values will be returned, see Output parameters
xxx == 1 (or ) return boundaries
xxx == 2 return title
yyy == 0 return title of continuous variant
yyy == 1 return title of discrete variant
xxx == 3 return value of global minimum
P1 - (Optional) Number indicating which variant is used,
if Chrom is not NaN or .
P1 = 1 use discrete version
P1 = 0 use continuous version
If P1 is omitted or P1 =  the discrete version
is used (P1 = 1).
P2 - Additional parameter
ObjVal - Column vector containing the objective values of the
individuals in the current population.
if called with
Chrom == [NaN xxx] or Chrom == [NaN xxx yyy],
then ObjVal contains
xxx == 1 (or ), matrix with the boundaries of
xxx == 2, text with the title of the function
yyy omitted: title of continuous variant
yyy = 0 title of continuous variant
yyy = 1 title of discrete variant
xxx == 3, value of global minimum
% continuous variant of the Four-Wings function
% discrete variant of the Four-Wings function
>> objridge(Chrom, 1)
This document is part of version 3.8
GEATbx: Genetic and Evolutionary Algorithm Toolbox for use with Matlab -
The Genetic and Evolutionary Algorithm Toolbox is not public domain
© 1994-2006 Hartmut Pohlheim, All Rights Reserved,