net.sf.myra.framework
Interface PheromoneUpdater


public interface PheromoneUpdater

This interface handles pheromone operations (initialization, update and evaporation).

Version:
$Revision$ $Date:: $
Author:
Fernando Esteban Barril Otero

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

initialize

void initialize(Colony colony)
Initializes the pheromone values.

Parameters:
colony - the colony of ants.

update

void update(Trail trail,
            Colony colony)
Updates the pheromone values based on the specified ant trail.

Parameters:
trail - the ant trail.
colony - the colony of ants.

evaporate

void evaporate(Colony colony)
Evaporates the pheromone values.

Parameters:
colony - the colony of ants.


Copyright © 2013. All Rights Reserved.