net.sf.myra.antree
Class MaxMinStagnationTest

java.lang.Object
  extended by net.sf.myra.antree.MaxMinStagnationTest
All Implemented Interfaces:
ConvergenceTest

public class MaxMinStagnationTest
extends java.lang.Object
implements ConvergenceTest

Version:
$Revision: 2329 $ $Date:: 2011-08-02 09:57:44#$
Author:
Fernando Esteban Barril Otero

Constructor Summary
MaxMinStagnationTest()
           
 
Method Summary
 boolean hasConverged(Graph graph, Iteration iteration)
          Tests if the algorithm has converged.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxMinStagnationTest

public MaxMinStagnationTest()
Method Detail

hasConverged

public boolean hasConverged(Graph graph,
                            Iteration iteration)
Description copied from interface: ConvergenceTest
Tests if the algorithm has converged.

Specified by:
hasConverged in interface ConvergenceTest
iteration - the current iteration.
Returns:
true if the algorithm has converged; false otherwise.


Copyright © 2013. All Rights Reserved.