net.sourceforge.cilib.functions.continuous.dynamic.moo.fda2
Class FDA2_h

java.lang.Object
  extended by net.sourceforge.cilib.functions.Function
      extended by net.sourceforge.cilib.functions.ContinuousFunction
          extended by net.sourceforge.cilib.functions.continuous.dynamic.moo.fda2.FDA2_h
All Implemented Interfaces:
Serializable, Cloneable

public class FDA2_h
extends ContinuousFunction

This function is the h function of the FDA2 problem defined on page 429 in the following paper: M.Farina, K.Deb, P.Amato. Dynamic multiobjective optimization problems: test cases, approximations and applications, IEEE Transactions on Evolutionary Computation, 8(5): 425-442, 2003

Author:
Marde Greeff
See Also:
Serialized Form

Constructor Summary
FDA2_h()
          Default constructor
FDA2_h(FDA2_h copy)
          copy constructor
 
Method Summary
 double evaluate(Vector x)
          Evaluates the function h(X_III, f_1, g) = 1-(f_1/g)^(H(t) + sum(x_i-H(t))^2)^(-1)
 FDA2_h getClone()
          return a clone
 FunctionMinimisationProblem getFDA2_f_problem()
          Returns the problem used to set the f function
 ContinuousFunction getFDA2_f()
          Returns the f function that is used in the FDA2 function
 FunctionMinimisationProblem getFDA2_g_problem()
          Returns function used to set g function
 ContinuousFunction getFDA2_g()
          Returns the g function that is used in the FDA2 function
 int getN_t()
          returns the severity of change
 int getTau_t()
          returns the frequency of change
 int getTau()
          returns the iteration number
 void setFDA2_f(ContinuousFunction fda2_f)
          sets the f function that is used the FDA2 function
 void setFDA2_f(FunctionMinimisationProblem problem)
          Sets the f function used with FDA2 problem
 void setFDA2_g(ContinuousFunction fda2_g)
          Sets the g function that is used in the FDA2 function
 void setFDA2_g(FunctionMinimisationProblem problem)
          Sets the g function used in FDA2 problem
 void setN_t(int n_t)
          sets the severity of change
 void setTau_t(int tau_t)
          sets the frequency of change
 void setTau(int tau)
          sets the iteration number
 
Methods inherited from class net.sourceforge.cilib.functions.ContinuousFunction
evaluate, getMaximum, getMinimum
 
Methods inherited from class net.sourceforge.cilib.functions.Function
getBehavioralDomainRegistry, getDimension, getDomain, getDomainRegistry, setBehavioralDomain, setBehaviouralDomainRegistry, setDomain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FDA2_h

public FDA2_h()
Default constructor


FDA2_h

public FDA2_h(FDA2_h copy)
copy constructor

Parameters:
copy -
Method Detail

getClone

public FDA2_h getClone()
return a clone

Specified by:
getClone in interface Cloneable
Specified by:
getClone in class ContinuousFunction
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

setFDA2_f

public void setFDA2_f(FunctionMinimisationProblem problem)
Sets the f function used with FDA2 problem

Parameters:
problem -

getFDA2_f_problem

public FunctionMinimisationProblem getFDA2_f_problem()
Returns the problem used to set the f function

Returns:

setFDA2_f

public void setFDA2_f(ContinuousFunction fda2_f)
sets the f function that is used the FDA2 function

Parameters:
fda1_f -

getFDA2_f

public ContinuousFunction getFDA2_f()
Returns the f function that is used in the FDA2 function

Returns:

setFDA2_g

public void setFDA2_g(FunctionMinimisationProblem problem)
Sets the g function used in FDA2 problem

Parameters:
problem -

getFDA2_g_problem

public FunctionMinimisationProblem getFDA2_g_problem()
Returns function used to set g function

Returns:

setFDA2_g

public void setFDA2_g(ContinuousFunction fda2_g)
Sets the g function that is used in the FDA2 function

Parameters:
fda1_g -

getFDA2_g

public ContinuousFunction getFDA2_g()
Returns the g function that is used in the FDA2 function

Returns:

setTau

public void setTau(int tau)
sets the iteration number

Parameters:
tau -

getTau

public int getTau()
returns the iteration number

Returns:
tau

setTau_t

public void setTau_t(int tau_t)
sets the frequency of change

Parameters:
tau -

getTau_t

public int getTau_t()
returns the frequency of change

Returns:
tau_t

setN_t

public void setN_t(int n_t)
sets the severity of change

Parameters:
n_t -

getN_t

public int getN_t()
returns the severity of change

Returns:
n_t

evaluate

public double evaluate(Vector x)
Evaluates the function h(X_III, f_1, g) = 1-(f_1/g)^(H(t) + sum(x_i-H(t))^2)^(-1)

Specified by:
evaluate in class ContinuousFunction
Parameters:
x - The input Vector.
Returns:
The value of the evaluation.


Copyright © 2009 CIRG. All Rights Reserved.