net.sourceforge.cilib.pso.hpso.pheromoneupdate.PheromoneUpdateStrategy Maven / Gradle / Ivy
/** __ __
* _____ _/ /_/ /_ Computational Intelligence Library (CIlib)
* / ___/ / / / __ \ (c) CIRG @ UP
* / /__/ / / / /_/ / http://cilib.net
* \___/_/_/_/_.___/
*/
package net.sourceforge.cilib.pso.hpso.pheromoneupdate;
import net.sourceforge.cilib.pso.particle.Particle;
import net.sourceforge.cilib.util.Cloneable;
/**
* Interface to calculate the change in pheromone level for the adaptive HPSO
* using pheromones
*/
public interface PheromoneUpdateStrategy extends Cloneable {
/**
* Calculates the amount that a behavior's pheromone level should change
*
* @param particle the {@linkplain Particle} which affects the behavior's pheromone level
* @return the change in pheromone for a {@linkplain Particle}'s behavior
*/
double updatePheromone(Particle particle);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy