particle-swarm-optimization includes added
This commit is contained in:
parent
860cb372b0
commit
703edd5087
2 changed files with 82 additions and 1 deletions
|
|
@ -16,11 +16,15 @@ pkginclude_HEADERS = eo \
|
|||
EO.h \
|
||||
apply.h \
|
||||
eoAlgo.h \
|
||||
eoBinaryFlight.h \
|
||||
eoBitParticle.h \
|
||||
eoBreed.h \
|
||||
eoCellularEasyEA.h \
|
||||
eoCloneOps.h \
|
||||
eoCombinedContinue.h \
|
||||
eoCombinedInit.h \
|
||||
eoConstrictedVariableWeightVelocity.h \
|
||||
eoConstrictedVelocity.h \
|
||||
eoContinue.h \
|
||||
eoCounter.h \
|
||||
eoCtrlCContinue.h \
|
||||
|
|
@ -29,8 +33,10 @@ pkginclude_HEADERS = eo \
|
|||
eoDistribUpdater.h \
|
||||
eoDistribution.h \
|
||||
eoDominanceMap.h \
|
||||
eoDummyFlight.h \
|
||||
eoEDA.h \
|
||||
eoEasyEA.h \
|
||||
eoEasyPSO.h \
|
||||
eoEvalContinue.h \
|
||||
eoEvalFunc.h \
|
||||
eoEvalFuncCounter.h \
|
||||
|
|
@ -38,22 +44,29 @@ pkginclude_HEADERS = eo \
|
|||
eoFactory.h \
|
||||
eoFitContinue.h \
|
||||
eoFitnessScalingSelect.h \
|
||||
eoFixedInertiaWeightedVelocity.h \
|
||||
eoFlight.h \
|
||||
eoFlOrBinOp.h \
|
||||
eoFlOrMonOp.h \
|
||||
eoFlOrQuadOp.h \
|
||||
eoFunctor.h \
|
||||
eoFunctorStore.h \
|
||||
eoG3Replacement.h \
|
||||
eoGaussRealWeightUp.h \
|
||||
eoGenContinue.h \
|
||||
eoGenOp.h \
|
||||
eoGeneralBreeder.h \
|
||||
eoInit.h \
|
||||
eoInvalidateOps.h \
|
||||
eoLinearDecreasingWeightUp.h \
|
||||
eoLinearFitScaling.h \
|
||||
eoLinearTopology.h \
|
||||
eoLSPSO.h \
|
||||
eoMGGReplacement.h \
|
||||
eoMerge.h \
|
||||
eoMergeReduce.h \
|
||||
eoNDSorting.h \
|
||||
eoNeighborhood.h \
|
||||
eoObject.h \
|
||||
eoOneToOneBreeder.h \
|
||||
eoOp.h \
|
||||
|
|
@ -62,6 +75,7 @@ pkginclude_HEADERS = eo \
|
|||
eoParetoConstraintFitness.h \
|
||||
eoParetoFitness.h \
|
||||
eoParetoRanking.h \
|
||||
eoParticleBestInit.h \
|
||||
eoPerf2Worth.h \
|
||||
eoPeriodicContinue.h \
|
||||
eoPersistent.h \
|
||||
|
|
@ -73,9 +87,13 @@ pkginclude_HEADERS = eo \
|
|||
eoPropGAGenOp.h \
|
||||
eoProportionalCombinedOp.h \
|
||||
eoProportionalSelect.h \
|
||||
eoPSO.h \
|
||||
eoRandomRealWeightUp.h \
|
||||
eoRandomSelect.h \
|
||||
eoRanking.h \
|
||||
eoRankingSelect.h \
|
||||
eoRealBoundModifier.h \
|
||||
eoRealParticle.h \
|
||||
eoReduce.h \
|
||||
eoReduceMerge.h \
|
||||
eoReduceMergeReduce.h \
|
||||
|
|
@ -98,19 +116,33 @@ pkginclude_HEADERS = eo \
|
|||
eoSequentialSelect.h \
|
||||
eoSharing.h \
|
||||
eoSharingSelect.h \
|
||||
eoSigBinaryFlight.h \
|
||||
eoSimpleEDA.h \
|
||||
eoSocialNeighborhood.h \
|
||||
eoSSPSO.h \
|
||||
eoStandardFlight.h \
|
||||
eoStandardVelocity.h \
|
||||
eoStarTopology.h \
|
||||
eoSteadyFitContinue.h \
|
||||
eoStochTournamentSelect.h \
|
||||
eoStochasticUniversalSelect.h \
|
||||
eoSurviveAndDie.h \
|
||||
eoSyncEasyPSO.h \
|
||||
eoTopology.h \
|
||||
eoTransform.h \
|
||||
eoTruncSelect.h \
|
||||
eoTruncatedSelectMany.h \
|
||||
eoTruncatedSelectOne.h \
|
||||
eoVariableInertiaWeightedVelocity.h \
|
||||
eoVariableLengthCrossover.h \
|
||||
eoVariableLengthMutation.h \
|
||||
eoVector.h \
|
||||
eoVectorParticle.h \
|
||||
eoVelocity.h \
|
||||
eoVelocityInit.h \
|
||||
eoWeightUpdater.h \
|
||||
es.h \
|
||||
ga.h
|
||||
ga.h \
|
||||
PO.h
|
||||
|
||||
AM_CXXFLAGS = -I$(top_srcdir)/src
|
||||
|
|
|
|||
49
eo/src/eo
49
eo/src/eo
|
|
@ -82,6 +82,7 @@
|
|||
#include <eoEvalContinue.h>
|
||||
#include <eoFitContinue.h>
|
||||
#include <eoPeriodicContinue.h>
|
||||
#include <eoTimeContinue.h> // added th T.Legrand
|
||||
#ifndef _MSC_VER
|
||||
#include <eoCtrlCContinue.h> // CtrlC handling (using 2 global variables!)
|
||||
#endif
|
||||
|
|
@ -145,6 +146,54 @@
|
|||
// to be continued ...
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
/*** Particle Swarm Optimization stuff ***/
|
||||
|
||||
// basic particle definitions
|
||||
#include <PO.h>
|
||||
#include <eoVectorParticle.h>
|
||||
#include <eoBitParticle.h>
|
||||
#include <eoRealParticle.h>
|
||||
|
||||
// initialization
|
||||
#include <eoParticleBestInit.h>
|
||||
|
||||
// velocities
|
||||
#include <eoVelocity.h>
|
||||
#include <eoStandardVelocity.h>
|
||||
#include <eoConstrictedVelocity.h>
|
||||
#include <eoFixedInertiaWeightedVelocity.h>
|
||||
#include <eoVariableInertiaWeightedVelocity.h>
|
||||
#include <eoConstrictedVariableWeightVelocity.h>
|
||||
|
||||
// flights
|
||||
#include <eoFlight.h>
|
||||
#include <eoStandardFlight.h>
|
||||
#include <eoVelocityInit.h>
|
||||
#include <eoDummyFlight.h>
|
||||
#include <eoBinaryFlight.h>
|
||||
#include <eoSigBinaryFlight.h>
|
||||
|
||||
// topologies
|
||||
#include <eoTopology.h>
|
||||
#include <eoStarTopology.h>
|
||||
#include <eoLinearTopology.h>
|
||||
#include <eoNeighborhood.h>
|
||||
#include <eoSocialNeighborhood.h>
|
||||
|
||||
// PS algorithms
|
||||
#include <eoPSO.h>
|
||||
#include <eoEasyPSO.h>
|
||||
#include <eoLSPSO.h>
|
||||
#include <eoSSPSO.h>
|
||||
#include <eoSyncEasyPSO.h>
|
||||
|
||||
// utils
|
||||
#include <eoRealBoundModifier.h>
|
||||
#include <eoRandomRealWeightUp.h>
|
||||
#include <eoWeightUpdater.h>
|
||||
#include <eoLinearDecreasingWeightUp.h>
|
||||
#include <eoGaussRealWeightUp.h>
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Reference in a new issue