|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.cantminer.EdgePheromoneUpdater
net.sf.myra.cantminer.sequential.MaxMinEdgePheromoneUpdater
public class MaxMinEdgePheromoneUpdater
Field Summary | |
---|---|
static java.lang.String |
EVAPORATION_FACTOR
The property key under which the evaporation factor is stored. |
static double |
INITIAL
The initial pheromone value (this is an arbitrary 'big' value). |
static java.lang.String |
P_BEST
The property key under which the p_best probability is stored. |
Constructor Summary | |
---|---|
MaxMinEdgePheromoneUpdater()
|
Method Summary | |
---|---|
void |
evaporate(net.sf.myra.framework.Colony colony)
|
double |
getTMax()
Returns the maximum pheromone value allowed. |
double |
getTMin()
Returns the minimum pheromone value allowed. |
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 |
Field Detail |
---|
public static final java.lang.String EVAPORATION_FACTOR
public static final java.lang.String P_BEST
public static final double INITIAL
Constructor Detail |
---|
public MaxMinEdgePheromoneUpdater()
Method Detail |
---|
public void evaporate(net.sf.myra.framework.Colony colony)
evaporate
in interface net.sf.myra.framework.PheromoneUpdater
evaporate
in class EdgePheromoneUpdater
public void initialize(net.sf.myra.framework.Colony colony)
initialize
in interface net.sf.myra.framework.PheromoneUpdater
initialize
in class EdgePheromoneUpdater
public void update(net.sf.myra.framework.Trail trail, net.sf.myra.framework.Colony colony)
update
in interface net.sf.myra.framework.PheromoneUpdater
update
in class EdgePheromoneUpdater
public double getTMax()
public double getTMin()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |