be.ac.ulg.montefiore.run.totem.repository.SAMTE.model
Class SAMTELoadBalancingOF

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.repository.SAMTE.model.SAMTELoadBalancingOF
All Implemented Interfaces:
ObjectiveFunction

public class SAMTELoadBalancingOF
extends java.lang.Object
implements ObjectiveFunction

Creation date: 25-Feb-2005 12:23:46

Author:
Fabian Skivee (skivee@run.montefiore.ulg.ac.be)

Constructor Summary
SAMTELoadBalancingOF()
           
 
Method Summary
 double evaluate(HeuristicSolution solution)
          Evaluate an heuristic solution
 double evaluate(SAMTESolution solution)
          Evaluate an heuristic solution
 java.lang.String getName()
          Get the name of the objective function
 int getNbEvaluated()
           
 long getTimeToEvaluate()
           
 void resetNbEvaluated()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMTELoadBalancingOF

public SAMTELoadBalancingOF()
Method Detail

getName

public java.lang.String getName()
Get the name of the objective function

Specified by:
getName in interface ObjectiveFunction
Returns:
the name

evaluate

public double evaluate(HeuristicSolution solution)
Evaluate an heuristic solution

Specified by:
evaluate in interface ObjectiveFunction
Parameters:
solution -
Returns:
the value of the solution

evaluate

public double evaluate(SAMTESolution solution)
Evaluate an heuristic solution

Parameters:
solution -
Returns:
the value of the solution

getNbEvaluated

public int getNbEvaluated()
Specified by:
getNbEvaluated in interface ObjectiveFunction

resetNbEvaluated

public void resetNbEvaluated()
Specified by:
resetNbEvaluated in interface ObjectiveFunction

getTimeToEvaluate

public long getTimeToEvaluate()
Specified by:
getTimeToEvaluate in interface ObjectiveFunction


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