be.ac.ulg.montefiore.run.totem.repository.genericheuristics.model
Interface ObjectiveFunction

All Known Implementing Classes:
SAMTELoadBalancingLimitationOF, SAMTELoadBalancingOF, SAMTEMaxLoadOF

public interface ObjectiveFunction

Define an objective function

Creation date: 16-Nov-2004 14:38:19

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

Method Summary
 double evaluate(HeuristicSolution solution)
          Evaluate an heuristic solution
 java.lang.String getName()
          Get the name of the objective function
 int getNbEvaluated()
           
 long getTimeToEvaluate()
           
 void resetNbEvaluated()
           
 

Method Detail

getName

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

Returns:
the name

evaluate

double evaluate(HeuristicSolution solution)
Evaluate an heuristic solution

Parameters:
solution -
Returns:
the value of the solution

getNbEvaluated

int getNbEvaluated()

resetNbEvaluated

void resetNbEvaluated()

getTimeToEvaluate

long getTimeToEvaluate()


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