net.sourceforge.cilib.pso.positionupdatestrategies
Class IterationNeighbourhoodBestUpdateStrategy
java.lang.Object
net.sourceforge.cilib.pso.positionupdatestrategies.IterationNeighbourhoodBestUpdateStrategy
- All Implemented Interfaces:
- Serializable, NeighbourhoodBestUpdateStrategy, Cloneable
public class IterationNeighbourhoodBestUpdateStrategy
- extends Object
- implements NeighbourhoodBestUpdateStrategy
- Author:
- Gary Pampara
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IterationNeighbourhoodBestUpdateStrategy
public IterationNeighbourhoodBestUpdateStrategy()
getClone
public IterationNeighbourhoodBestUpdateStrategy 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.
- Specified by:
getClone
in interface NeighbourhoodBestUpdateStrategy
- Specified by:
getClone
in interface Cloneable
- Returns:
- An exact clone of the current object instance.
- See Also:
Object.clone()
getSocialBestFitness
public Fitness getSocialBestFitness(Entity entity)
- Get the social best fitness (neighbourhood best) of the given Entity.
- Specified by:
getSocialBestFitness
in interface NeighbourhoodBestUpdateStrategy
- Parameters:
entity
- The Entity to determine the social best fitness from.
- Returns:
- The social best (neighbourhood best) Fitness.
Copyright © 2009 CIRG. All Rights Reserved.