Class ParametricAnalysisChecker
java.lang.Object
common.definitions.parametric.ParametricAnalysisChecker
Title: ParametricAnalysisChecker
Description: the main task of this class is to check which parametric analysis simulation are available. It offers also some other methods used to get available stations and classes for some types of parametric analysis.
- Author:
- Francesco D'Aquino Date: 1-feb-2006 Time: 11.00.12
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if at least one parametric simulation is available.This method has a meaning only if used inside an arrival rate parametric analysis.This method has a meaning only if used inside a routing probabilities parametric analysis.This method has a meaning only if used inside a routing probabilities parametric analysis.This method has a meaning only if used inside a service times parametric analysis.This method has a meaning only if used inside a service times parametric analysis.String[]Gets an array of String containing the description of available parametric simulations
-
Constructor Details
-
ParametricAnalysisChecker
public ParametricAnalysisChecker(ClassDefinition cd, StationDefinition sd, SimulationDefinition simd) - Parameters:
cd- class definitionsd- simulation definitionsimd- simulation definition
-
-
Method Details
-
canBeEnabled
public boolean canBeEnabled()Checks if at least one parametric simulation is available.- Returns:
- true if at least one parametric simulation is available.
-
getRunnableParametricAnalysis
Gets an array of String containing the description of available parametric simulations- Returns:
- the array
-
checkForServiceTimesParametricAnalysisAvailableStations
This method has a meaning only if used inside a service times parametric analysis. It can be used to get the keys of stations available to perform that kind of parametric analysis.- Returns:
- the Vector containing the keys of available stations
-
checkForServiceTimesParametricSimulationAvailableClasses
This method has a meaning only if used inside a service times parametric analysis. It can be used to get the keys of classes available to perform that kind of parametric analysis.- Parameters:
stationKey- the key of the station whose service times will be varied.- Returns:
- a Vector containing the keys of available classes
-
checkForRoutingProbabilitiesParametricAnalysisAvailableSourceStations
This method has a meaning only if used inside a routing probabilities parametric analysis. It can be used to get the keys of stations available to perform that kind of parametric analysis.- Returns:
- a Vector containing the keys of available stations
-
checkForRoutingProbabilitiesParametricSimulationAvailableClasses
public Vector<Object> checkForRoutingProbabilitiesParametricSimulationAvailableClasses(Object stationKey) This method has a meaning only if used inside a routing probabilities parametric analysis. It can be used to get the keys of classes available to perform that kind of parametric analysis.- Parameters:
stationKey- the key of the station whose routing probabilities will be varied.- Returns:
- a Vector containing the keys of available classes
-
checkForArrivalRatesParametricSimulationAvailableClasses
This method has a meaning only if used inside an arrival rate parametric analysis. It can be used to get the keys of classes available to perform that kind of parametric analysis.- Returns:
- a Vector containing the keys of available classes
-
checkForNumberOfServersParametricAnalysisAvailableStations
-
checkForTotalStationCapacityParametricAnalysisAvailableStations
-