net.sf.myra.cantminer.pittsburgh
Class PheromoneUpdater

java.lang.Object
  extended by net.sf.myra.cantminer.pittsburgh.PheromoneUpdater

public class PheromoneUpdater
extends java.lang.Object

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

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
PheromoneUpdater()
           
 
Method Summary
 boolean hasConverged(net.sf.myra.framework.Graph<net.sf.myra.datamining.data.Term> graph, CandidateRuleList best)
           
 void initialize(net.sf.myra.framework.Graph<net.sf.myra.datamining.data.Term> graph)
           
 void update(CandidateRuleList candidate, net.sf.myra.framework.Graph<net.sf.myra.datamining.data.Term> graph)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVAPORATION_FACTOR

public static final java.lang.String EVAPORATION_FACTOR
The property key under which the evaporation factor is stored.

See Also:
Constant Field Values

P_BEST

public static final java.lang.String P_BEST
The property key under which the p_best probability is stored.

See Also:
Constant Field Values

INITIAL

public static final double INITIAL
The initial pheromone value (this is an arbitrary 'big' value).

See Also:
Constant Field Values
Constructor Detail

PheromoneUpdater

public PheromoneUpdater()
Method Detail

initialize

public void initialize(net.sf.myra.framework.Graph<net.sf.myra.datamining.data.Term> graph)

update

public void update(CandidateRuleList candidate,
                   net.sf.myra.framework.Graph<net.sf.myra.datamining.data.Term> graph)

hasConverged

public boolean hasConverged(net.sf.myra.framework.Graph<net.sf.myra.datamining.data.Term> graph,
                            CandidateRuleList best)


Copyright © 2013. All Rights Reserved.