net.sf.myra.cantminer
Class EdgePheromoneUpdater

java.lang.Object
  extended by net.sf.myra.cantminer.EdgePheromoneUpdater
All Implemented Interfaces:
net.sf.myra.framework.PheromoneUpdater
Direct Known Subclasses:
ClassEdgePheromoneUpdater, MaxMinEdgePheromoneUpdater

public class EdgePheromoneUpdater
extends java.lang.Object
implements net.sf.myra.framework.PheromoneUpdater

Default cAnt-Miner2 pehromone update policy.

Version:
$Revision$ $Date:: $
Author:
Fernando Esteban Barril Otero

Constructor Summary
EdgePheromoneUpdater()
           
 
Method Summary
 void evaporate(net.sf.myra.framework.Colony colony)
           
 void initialize(net.sf.myra.framework.Colony colony)
           
 void update(net.sf.myra.framework.Trail trail, net.sf.myra.framework.Colony colony)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgePheromoneUpdater

public EdgePheromoneUpdater()
Method Detail

evaporate

public void evaporate(net.sf.myra.framework.Colony colony)
Specified by:
evaporate in interface net.sf.myra.framework.PheromoneUpdater

initialize

public void initialize(net.sf.myra.framework.Colony colony)
Specified by:
initialize in interface net.sf.myra.framework.PheromoneUpdater

update

public void update(net.sf.myra.framework.Trail trail,
                   net.sf.myra.framework.Colony colony)
Specified by:
update in interface net.sf.myra.framework.PheromoneUpdater


Copyright © 2013. All Rights Reserved.