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 Object


Nested Class Summary
static class CostFunction.CostFactor
           
 
Field Summary
static String DistanceToPrevious
           
 
Constructor Summary
CostFunction()
           
 
Method Summary
 void addCostFactor(String name, float fraction, boolean ascending)
           
 List<CostFunction.CostFactor> getCostFactors()
           
 void removeCostFactors(Set<String> factorsToRemove)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DistanceToPrevious

public static String DistanceToPrevious
Constructor Detail

CostFunction

public CostFunction()
Method Detail

addCostFactor

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

removeCostFactors

public void removeCostFactors(Set<String> factorsToRemove)

getCostFactors

public List<CostFunction.CostFactor> getCostFactors()


Copyright © 2013. All Rights Reserved.