gr.uoa.di.madgik.commons.infra.nodeselection.cost
Class CostFunction

java.lang.Object
  extended by gr.uoa.di.madgik.commons.infra.nodeselection.cost.CostFunction

public class CostFunction
extends java.lang.Object


Nested Class Summary
static class CostFunction.CostFactor
           
 
Field Summary
 java.util.Map<java.lang.String,CostFunction.CostFactor> costFactors
           
 
Constructor Summary
CostFunction()
           
 
Method Summary
 void addCostFactor(java.lang.String name, float fraction, boolean ascending)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

costFactors

public java.util.Map<java.lang.String,CostFunction.CostFactor> costFactors
Constructor Detail

CostFunction

public CostFunction()
Method Detail

addCostFactor

public void addCostFactor(java.lang.String name,
                          float fraction,
                          boolean ascending)
                   throws java.lang.Exception
Throws:
java.lang.Exception