|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cilib.pso.positionupdatestrategies.BinaryPositionUpdateStrategy
public class BinaryPositionUpdateStrategy
Binary position update strategy to enable the BinaryPSO.
| Constructor Summary | |
|---|---|
BinaryPositionUpdateStrategy()
Create an instance of BinaryPositionUpdateStrategy. |
|
BinaryPositionUpdateStrategy(BinaryPositionUpdateStrategy copy)
Create a copy of the provided instance. |
|
| Method Summary | |
|---|---|
BinaryPositionUpdateStrategy |
getClone()
Clone the stategy by creating a new object with the same contents and values as the current object. |
Sigmoid |
getSigmoid()
Get the sigmoid function used within the update strategy. |
void |
setSigmoid(Sigmoid sigmoid)
Set the sigmoid function to use. |
void |
updatePosition(Particle particle)
BinaryPSO particle position update, as defined by Kennedy and Eberhart. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BinaryPositionUpdateStrategy()
public BinaryPositionUpdateStrategy(BinaryPositionUpdateStrategy copy)
copy - The instance to copy.| Method Detail |
|---|
public BinaryPositionUpdateStrategy getClone()
getClone in interface PositionUpdateStrategygetClone in interface CloneableObject.clone()public void updatePosition(Particle particle)
updatePosition in interface PositionUpdateStrategyparticle - The Particle to perform the position update on.public Sigmoid getSigmoid()
public void setSigmoid(Sigmoid sigmoid)
sigmoid - The function to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||