|
From: Gary P. <gpa...@gm...> - 2008-12-05 19:15:02
|
Hi,
The BinaryPSO is nothing more than a normal PSO which has it's position
update equation changed and has been defined to use the binary problem
space.
For example, an extract of a BinaryPSO xml file would be something like:
<algorithms>
<algorithm id="binaryPSO" class="pso.PSO">
<initialisationStrategy
class="algorithm.initialisation.ClonedPopulationInitialisationStrategy">
<entityType class="pso.particle.StandardParticle">
<positionUpdateStrategy
class="pso.positionupdatestrategies.BinaryPositionUpdateStrategy">
<sigmoid class="functions.activation.Sigmoid"/>
</positionUpdateStrategy>
</entityType>
<entityNumber>30</entityNumber>
</initialisationStrategy>
<topology class="entity.topologies.VonNeumannTopology" />
<addStoppingCondition
class="stoppingcondition.MaximumIterations" maximumIterations="10000" />
</algorithm>
</algorithms>
<problems>
<problem id="spherical" class="problem.FunctionMinimisationProblem">
<function class="functions.discrete.BinaryAdapter" domain="B^20"
bitsPerDimension="10" precision="2">
<function class="functions.continuous.Spherical"
domain="R(-5.12,5.12)^2"/>
</function>
</problem>
</problems>
Hope this helps,
Gary
lab...@gm... wrote:
> where is the binary PSO in cilib 0.6.12? I must be blind, I can't see it.
>
> TIA
> myriam
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cilib-users mailing list
> Cil...@li...
> https://lists.sourceforge.net/lists/listinfo/cilib-users
|