|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HoneyBee
Super interface for all types of bees in the artificial bee algorithm.
Method Summary | |
---|---|
HoneyBee |
getClone()
Make a clone of the Entity the exact semantics of the clone method will be defined by the classes that implements this interface. |
Fitness |
getFitness()
Returns the Entity fitness. |
Vector |
getPosition()
Gets the bee's position (contents). |
BeePositionUpdateStrategy |
getPositionUpdateStrategy()
Getter method for the position update strategy. |
void |
setPosition(Vector position)
Sets the bee's position (contents). |
void |
updatePosition()
Updates the position of the bee based on the neighboring nectar content. |
Methods inherited from interface net.sourceforge.cilib.entity.Entity |
---|
calculateFitness, calculateFitness, compareTo, getBestFitness, getCandidateSolution, getDimension, getFitnessCalculator, getId, getProperties, initialise, reinitialise, setCandidateSolution, setProperties |
Method Detail |
---|
HoneyBee getClone()
getClone
in interface Cloneable
getClone
in interface Entity
Object.clone()
Fitness getFitness()
getFitness
in interface Entity
void updatePosition()
Vector getPosition()
void setPosition(Vector position)
position
- The value to set.BeePositionUpdateStrategy getPositionUpdateStrategy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |