|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PheromoneUpdater
This interface handles pheromone operations (initialization, update and evaporation).
Method Summary | |
---|---|
void |
evaporate(Colony colony)
Evaporates the pheromone values. |
void |
initialize(Colony colony)
Initializes the pheromone values. |
void |
update(Trail trail,
Colony colony)
Updates the pheromone values based on the specified ant trail. |
Method Detail |
---|
void initialize(Colony colony)
colony
- the colony of ants.void update(Trail trail, Colony colony)
trail
- the ant trail.colony
- the colony of ants.void evaporate(Colony colony)
colony
- the colony of ants.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |