net.sourceforge.cilib.cooperative
Interface ParticipatingAlgorithm

All Known Implementing Classes:
EC, HybridCooperativeAlgorithm, LFPSO, MultistartOptimisationAlgorithm, PSO, RNAPSO, SplitCooperativeAlgorithm

public interface ParticipatingAlgorithm

Any algorithm that implements this interface can be used as a participant in any Cooperative Algorithm. Such Cooperative Algorithms should preferably inherit from MultiPopulationBasedAlgorithm. Note: Currently this interface only supports continuous domained problems.

Author:
Edwin Peer, Theuns Cloete

Method Summary
 Entity getContribution()
          Returns contribution to the solution for the co-operative optimisation algorithm.
 Fitness getContributionFitness()
          Returns the fitness of contribution to the solution.
 void updateContributionFitness(Fitness fitness)
          Updates the new fitness for the solution contribution.
 

Method Detail

getContribution

Entity getContribution()
Returns contribution to the solution for the co-operative optimisation algorithm.

Returns:
The algorithm's solution contribution.

getContributionFitness

Fitness getContributionFitness()
Returns the fitness of contribution to the solution.

Returns:
The fitness of the solution contribution.

updateContributionFitness

void updateContributionFitness(Fitness fitness)
Updates the new fitness for the solution contribution.

Parameters:
fitness - The new fitness of the contribution.


Copyright © 2009 CIRG. All Rights Reserved.