Class LoadDependentRouting
java.lang.Object
common.routingStrategies.RoutingStrategy
common.routingStrategies.LoadDependentRouting
Created by IntelliJ IDEA.
User: Ashanka
Date: 9/1/11
Time: 12:34 AM
To change this template use File | Settings | File Templates.
-
Field Summary
Fields inherited from class RoutingStrategy
all, allForSource, description -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEmpiricalEntry(Integer from, Object stationKey, Double probability) voidaddStation(Object stationKey) clone()getName()booleanReturns true if the routing strategy is dependent on the state of the modelvoidrefreshRouting(Vector<Object> stationKeys, Vector<Object> validStationKeys) voidvoidremoveStation(Object stationKey) validate()Methods inherited from class RoutingStrategy
equals, findAll, findAllForSource, getDescription, toString
-
Constructor Details
-
LoadDependentRouting
public LoadDependentRouting()
-
-
Method Details
-
getName
- Specified by:
getNamein classRoutingStrategy
-
clone
- Specified by:
clonein classRoutingStrategy
-
getClassPath
- Specified by:
getClassPathin classRoutingStrategy
-
getAllEmpiricalEntries
-
getEmpiricalEntriesForFrom
-
removeEmpiricalEntriesForFrom
-
addEmpiricalEntry
-
validate
-
refreshRouting
-
isModelStateDependent
public boolean isModelStateDependent()Description copied from class:RoutingStrategyReturns true if the routing strategy is dependent on the state of the model- Specified by:
isModelStateDependentin classRoutingStrategy- Returns:
- true if the routing strategy is dependent on the state of the model Author: Francesco D'Aquino
-
addStation
- Specified by:
addStationin classRoutingStrategy
-
removeStation
- Specified by:
removeStationin classRoutingStrategy
-