|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cilib.pso.velocityupdatestrategies.BareBonesDEVelocityUpdate
public class BareBonesDEVelocityUpdate
The VelocityUpdateStrategy strategy which uses a DE strategy where the trial vector is the bare bones attractor point. TODO: To be published by Omran and Engelbrecht
| Constructor Summary | |
|---|---|
BareBonesDEVelocityUpdate()
Create a new instance of the BareBonesDEVelocityUpdate. |
|
BareBonesDEVelocityUpdate(BareBonesDEVelocityUpdate copy)
Copy constructor. |
|
| Method Summary | |
|---|---|
BareBonesDEVelocityUpdate |
getClone()
Clone the VelocityUpdateStrategy object. |
ControlParameter |
getCognitive()
Get the cognitive component. |
ControlParameter |
getCrossoverProbability()
Get the cross-over probability. |
RandomNumber |
getRand1()
Get the first RandomNumber. |
RandomNumber |
getRand2()
Get the secondRandomNumber. |
RandomNumber |
getRand3()
Get the third RandomNumber. |
static List<Entity> |
getRandomParentEntities(Topology<? extends Entity> topology)
Get a list of individuals that are suitable to be used within the recombination arithmetic operator. |
ControlParameter |
getSocial()
Get the social component. |
void |
setCognitive(ControlParameter cognitive)
Set the cognitive component. |
void |
setCrossoverProbability(ControlParameter crossoverProbability)
Set the crossover probability. |
void |
setRand1(RandomNumber rand1)
Set the first RandomNumber. |
void |
setRand2(RandomNumber rand2)
Set the second RandomNumber. |
void |
setRand3(RandomNumber rand3)
Set the third RandomNumber. |
void |
setSocial(ControlParameter social)
Set the social component ControlParameter. |
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 BareBonesDEVelocityUpdate()
public BareBonesDEVelocityUpdate(BareBonesDEVelocityUpdate copy)
copy - The instance to copy.| Method Detail |
|---|
public BareBonesDEVelocityUpdate getClone()
getClone in interface VelocityUpdateStrategygetClone in interface CloneableObject.clone()public void updateVelocity(Particle particle)
updateVelocity in interface VelocityUpdateStrategyparticle - The Particle to apply the operation on.public static List<Entity> getRandomParentEntities(Topology<? extends Entity> topology)
topology - The Topology containing the entites.
public void updateControlParameters(Particle particle)
updateControlParameters in interface VelocityUpdateStrategyparticle - The particle for whom the VelocityUpdateStrategy parameters need to be updated.public RandomNumber getRand1()
public void setRand1(RandomNumber rand1)
rand1 - The value to set.public RandomNumber getRand2()
public void setRand2(RandomNumber rand2)
rand2 - The value to set.public RandomNumber getRand3()
public void setRand3(RandomNumber rand3)
rand3 - The value to set.public ControlParameter getCognitive()
public void setCognitive(ControlParameter cognitive)
cognitive - The value to set.public ControlParameter getSocial()
public void setSocial(ControlParameter social)
social - The value to set.public ControlParameter getCrossoverProbability()
public void setCrossoverProbability(ControlParameter crossoverProbability)
crossoverProbability - The value to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||