Class ProbFunctionPrettyPrint
- java.lang.Object
-
- org.eclipse.emf.ecore.util.Switch<T1>
-
- de.uka.ipd.sdq.probfunction.util.ProbfunctionSwitch<String>
-
- de.uka.ipd.sdq.probfunction.print.ProbFunctionPrettyPrint
-
public class ProbFunctionPrettyPrint extends ProbfunctionSwitch<String>
-
-
Field Summary
-
Fields inherited from class de.uka.ipd.sdq.probfunction.util.ProbfunctionSwitch
copyright, modelPackage
-
-
Constructor Summary
Constructors Constructor Description ProbFunctionPrettyPrint()ProbFunctionPrettyPrint(StringBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcaseBoxedPDF(BoxedPDF object)Returns the result of interpreting the object as an instance of 'Boxed PDF'.StringcaseExponentialDistribution(ExponentialDistribution object)Returns the result of interpreting the object as an instance of 'Exponential Distribution'.StringcaseGammaDistribution(GammaDistribution object)Returns the result of interpreting the object as an instance of 'Gamma Distribution'.StringcaseLognormalDistribution(LognormalDistribution object)Returns the result of interpreting the object as an instance of 'Lognormal Distribution'.StringcaseNormalDistribution(NormalDistribution object)Returns the result of interpreting the object as an instance of 'Normal Distribution'.<T> StringcaseProbabilityMassFunction(ProbabilityMassFunction<T> object)Returns the result of interpreting the object as an instance of 'Probability Mass Function'.-
Methods inherited from class de.uka.ipd.sdq.probfunction.util.ProbfunctionSwitch
caseBoolSample, caseComplex, caseContinuousPDF, caseContinuousSample, caseDoubleSample, caseIntSample, caseProbabilityDensityFunction, caseProbabilityFunction, caseSample, caseSamplePDF, caseStringSample, caseUnitCarryingElement, defaultCase, doSwitch, isSwitchFor
-
-
-
-
Constructor Detail
-
ProbFunctionPrettyPrint
public ProbFunctionPrettyPrint()
-
ProbFunctionPrettyPrint
public ProbFunctionPrettyPrint(StringBuilder builder)
-
-
Method Detail
-
caseBoxedPDF
public String caseBoxedPDF(BoxedPDF object)
Description copied from class:ProbfunctionSwitchReturns the result of interpreting the object as an instance of 'Boxed PDF'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseBoxedPDFin classProbfunctionSwitch<String>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Boxed PDF'.
- See Also:
doSwitch(EObject)
-
caseProbabilityMassFunction
public <T> String caseProbabilityMassFunction(ProbabilityMassFunction<T> object)
Description copied from class:ProbfunctionSwitchReturns the result of interpreting the object as an instance of 'Probability Mass Function'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseProbabilityMassFunctionin classProbfunctionSwitch<String>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Probability Mass Function'.
- See Also:
doSwitch(EObject)
-
caseExponentialDistribution
public String caseExponentialDistribution(ExponentialDistribution object)
Description copied from class:ProbfunctionSwitchReturns the result of interpreting the object as an instance of 'Exponential Distribution'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseExponentialDistributionin classProbfunctionSwitch<String>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Exponential Distribution'.
- See Also:
doSwitch(EObject)
-
caseGammaDistribution
public String caseGammaDistribution(GammaDistribution object)
Description copied from class:ProbfunctionSwitchReturns the result of interpreting the object as an instance of 'Gamma Distribution'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseGammaDistributionin classProbfunctionSwitch<String>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Gamma Distribution'.
- See Also:
doSwitch(EObject)
-
caseLognormalDistribution
public String caseLognormalDistribution(LognormalDistribution object)
Description copied from class:ProbfunctionSwitchReturns the result of interpreting the object as an instance of 'Lognormal Distribution'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseLognormalDistributionin classProbfunctionSwitch<String>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Lognormal Distribution'.
- See Also:
doSwitch(EObject)
-
caseNormalDistribution
public String caseNormalDistribution(NormalDistribution object)
Description copied from class:ProbfunctionSwitchReturns the result of interpreting the object as an instance of 'Normal Distribution'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseNormalDistributionin classProbfunctionSwitch<String>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Normal Distribution'.
- See Also:
doSwitch(EObject)
-
-