|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.pso.velocityupdatestrategies.LFVelocityUpdate
public class LFVelocityUpdate
Constructor Summary | |
---|---|
LFVelocityUpdate()
Creates a new instance of LFVelocityUpdate. |
|
LFVelocityUpdate(LFVelocityUpdate copy)
|
Method Summary | |
---|---|
LFVelocityUpdate |
getClone()
Clone the VelocityUpdateStrategy object. |
Vector |
getGradient(Vector position)
Returns the gradient of the problem function at the given position. |
StandardVelocityUpdate |
getStandardVelocityUpdate()
|
void |
setGradientOptimisationProblem(GradientOptimisationProblem problem)
|
void |
setStandardVelocityUpdate(StandardVelocityUpdate standard)
|
void |
updateControlParameters(Particle particle)
Update the needed control parameters for the VelocityUpdate, if needed. |
void |
updateVelocity(Particle particle)
Perform the velocity update operation on the specified Particle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LFVelocityUpdate()
public LFVelocityUpdate(LFVelocityUpdate copy)
Method Detail |
---|
public LFVelocityUpdate getClone()
VelocityUpdateStrategy
getClone
in interface VelocityUpdateStrategy
getClone
in interface Cloneable
Object.clone()
public void setStandardVelocityUpdate(StandardVelocityUpdate standard)
public StandardVelocityUpdate getStandardVelocityUpdate()
public void updateVelocity(Particle particle)
VelocityUpdateStrategy
updateVelocity
in interface VelocityUpdateStrategy
particle
- The Particle to apply the operation on.public void setGradientOptimisationProblem(GradientOptimisationProblem problem)
public Vector getGradient(Vector position)
public void updateControlParameters(Particle particle)
VelocityUpdateStrategy
updateControlParameters
in interface VelocityUpdateStrategy
particle
- The particle for whom the VelocityUpdateStrategy parameters need to be updated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |