Class ProbFunctionCSVPrint
- java.lang.Object
-
- org.eclipse.emf.ecore.util.Switch<T1>
-
- de.uka.ipd.sdq.probfunction.util.ProbfunctionSwitch<String>
-
- de.uka.ipd.sdq.probfunction.print.ProbFunctionCSVPrint
-
public class ProbFunctionCSVPrint extends ProbfunctionSwitch<String>
-
-
Field Summary
-
Fields inherited from class de.uka.ipd.sdq.probfunction.util.ProbfunctionSwitch
copyright, modelPackage
-
-
Constructor Summary
Constructors Constructor Description ProbFunctionCSVPrint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
caseBoxedPDF(BoxedPDF object)
Prints aProbabilityFunction
as comma separated values using the generated EMF visitor.<T> String
caseProbabilityMassFunction(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, caseExponentialDistribution, caseGammaDistribution, caseIntSample, caseLognormalDistribution, caseNormalDistribution, caseProbabilityDensityFunction, caseProbabilityFunction, caseSample, caseSamplePDF, caseStringSample, caseUnitCarryingElement, defaultCase, doSwitch, isSwitchFor
-
-
-
-
Method Detail
-
caseBoxedPDF
public String caseBoxedPDF(BoxedPDF object)
Prints aProbabilityFunction
as comma separated values using the generated EMF visitor.- Overrides:
caseBoxedPDF
in 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:ProbfunctionSwitch
Returns 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:
caseProbabilityMassFunction
in 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)
-
-