net.sourceforge.cilib.functions.discrete
Class KnightsCoverage

java.lang.Object
  extended by net.sourceforge.cilib.functions.Function
      extended by net.sourceforge.cilib.functions.DiscreteFunction
          extended by net.sourceforge.cilib.functions.discrete.KnightsCoverage
All Implemented Interfaces:
Serializable, Cloneable

public class KnightsCoverage
extends DiscreteFunction

See Also:
Serialized Form

Constructor Summary
KnightsCoverage()
           
 
Method Summary
 double evaluate(Vector x)
          Evaluate the function output, given the function input, x.
 KnightsCoverage getClone()
          Create a cloned copy of the current object and return it.
 
Methods inherited from class net.sourceforge.cilib.functions.DiscreteFunction
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

KnightsCoverage

public KnightsCoverage()
Method Detail

evaluate

public double evaluate(Vector x)
Evaluate the function output, given the function input, x.

Specified by:
evaluate in class DiscreteFunction
Parameters:
x - The Vector representing the function input.
Returns:
The result of the evaluation.

getClone

public KnightsCoverage getClone()
Create a cloned copy of the current object and return it. In general the created copy will be a deep copy of the provided instance. As a result this operation an be quite expensive if used incorrectly.

Returns:
An exact clone of the current object instance.
See Also:
Object.clone()


Copyright © 2009 CIRG. All Rights Reserved.