be.ac.ulg.montefiore.run.totem.repository.genericheuristics.simulatedAnnealing.model
Class BasicSAReportGenerator

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.repository.genericheuristics.simulatedAnnealing.model.BasicSAReportGenerator
All Implemented Interfaces:
SAReportGenerator

public class BasicSAReportGenerator
extends java.lang.Object
implements SAReportGenerator

Basic reporter that can save the SAsolution in a text file

Creation date: 19 nov. 2004 10:29:33

Author:
Simon Balon (balon@run.montefiore.ulg.ac.be)

Constructor Summary
BasicSAReportGenerator()
           
BasicSAReportGenerator(int step)
           
 
Method Summary
 void addSolution(double presentSolutionCost, double bestSolutionCost, float Temperature)
           
 void clean()
           
 void save(java.lang.String FileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicSAReportGenerator

public BasicSAReportGenerator()

BasicSAReportGenerator

public BasicSAReportGenerator(int step)
Method Detail

clean

public void clean()

addSolution

public void addSolution(double presentSolutionCost,
                        double bestSolutionCost,
                        float Temperature)
Specified by:
addSolution in interface SAReportGenerator

save

public void save(java.lang.String FileName)
          throws java.io.IOException
Specified by:
save in interface SAReportGenerator
Throws:
java.io.IOException


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.