de.uka.ipd.sdq.probfunction.print
Class ProbFunctionCSVPrint

java.lang.Object
  extended by de.uka.ipd.sdq.probfunction.util.ProbfunctionSwitch<String>
      extended by 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
ProbFunctionCSVPrint()
           
 
Method Summary
 String caseBoxedPDF(BoxedPDF object)
          Prints a ProbabilityFunction as comma separated values using the generated EMF visitor.
 String caseProbabilityMassFunction(ProbabilityMassFunction 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
caseComplex, caseContinuousPDF, caseContinuousSample, caseExponentialDistribution, caseNormalDistribution, caseProbabilityDensityFunction, caseProbabilityFunction, caseSample, caseSamplePDF, caseUnitCarryingElement, defaultCase, doSwitch, doSwitch, doSwitch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProbFunctionCSVPrint

public ProbFunctionCSVPrint()
Method Detail

caseBoxedPDF

public String caseBoxedPDF(BoxedPDF object)
Prints a ProbabilityFunction as comma separated values using the generated EMF visitor.

Overrides:
caseBoxedPDF in class ProbfunctionSwitch<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 String caseProbabilityMassFunction(ProbabilityMassFunction 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 class ProbfunctionSwitch<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)