net.sourceforge.cilib.pso.hpso.HeterogeneousIterationStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cilib-library Show documentation
Show all versions of cilib-library Show documentation
A library of composable components enabling simpler Computational Intelligence
The newest version!
/** __ __
* _____ _/ /_/ /_ Computational Intelligence Library (CIlib)
* / ___/ / / / __ \ (c) CIRG @ UP
* / /__/ / / / /_/ / http://cilib.net
* \___/_/_/_/_.___/
*/
package net.sourceforge.cilib.pso.hpso;
import java.util.List;
import net.sourceforge.cilib.measurement.multiple.AdaptiveHPSOBehaviorProfileMeasurement;
import net.sourceforge.cilib.pso.particle.ParticleBehavior;
/**
* Interface that heterogeneous iteration strategies should implement so they can be measured
* using {@link AdaptiveHPSOBehaviorProfileMeasurement}
*/
public interface HeterogeneousIterationStrategy {
/**
* Add a {@link ParticleBehavior} to the behavior pool.
* @param behavior The {@link ParticleBehavior} to add to the behavior pool.
*/
public void addBehavior(ParticleBehavior behavior);
/**
* Set the {@link ParticleBehavior} pool.
* @param pool A {@link List} of {@link ParticleBehavior} objects.
*/
public void setBehaviorPool(List pool);
/**
* Get the current behavior pool.
* @return The current {@link List} of {@link ParticleBehavior} objects.
*/
public List getBehaviorPool();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy