Class PCMStoExEvaluationVisitor

java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
de.uka.ipd.sdq.pcm.stochasticexpressions.PCMStoExSwitch
de.uka.ipd.sdq.simucomframework.variables.stoexvisitor.PCMStoExEvaluationVisitor

public class PCMStoExEvaluationVisitor extends de.uka.ipd.sdq.pcm.stochasticexpressions.PCMStoExSwitch
Visitor to evaluate stoex. It executes the corresponding Java mathematical operations at each operator. It partially relies on the types infered to do its casts
  • Field Details

    • STOEX_SERIALISER

      protected static final org.palladiosimulator.pcm.stoex.api.StoExSerialiser STOEX_SERIALISER
  • Constructor Details

  • Method Details

    • setVariableMode

      public void setVariableMode(VariableMode mode)
    • getVariableMode

      public VariableMode getVariableMode()
    • caseCharacterisedVariable

      public Object caseCharacterisedVariable(org.palladiosimulator.pcm.parameter.CharacterisedVariable object)
      Overrides:
      caseCharacterisedVariable in class de.uka.ipd.sdq.pcm.stochasticexpressions.PCMStoExSwitch
    • caseCompareExpression

      public Object caseCompareExpression(de.uka.ipd.sdq.stoex.CompareExpression object)
      Overrides:
      caseCompareExpression in class de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
    • caseDoubleLiteral

      public Object caseDoubleLiteral(de.uka.ipd.sdq.stoex.DoubleLiteral object)
      Overrides:
      caseDoubleLiteral in class de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
    • caseIntLiteral

      public Object caseIntLiteral(de.uka.ipd.sdq.stoex.IntLiteral object)
      Overrides:
      caseIntLiteral in class de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
    • caseStringLiteral

      public Object caseStringLiteral(de.uka.ipd.sdq.stoex.StringLiteral object)
      Overrides:
      caseStringLiteral in class de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
    • caseParenthesis

      public Object caseParenthesis(de.uka.ipd.sdq.stoex.Parenthesis object)
      Overrides:
      caseParenthesis in class de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
    • caseProbabilityFunctionLiteral

      public Object caseProbabilityFunctionLiteral(de.uka.ipd.sdq.stoex.ProbabilityFunctionLiteral object)
      Overrides:
      caseProbabilityFunctionLiteral in class de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
    • caseProductExpression

      public Object caseProductExpression(de.uka.ipd.sdq.stoex.ProductExpression object)
      Overrides:
      caseProductExpression in class de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
    • caseTermExpression

      public Object caseTermExpression(de.uka.ipd.sdq.stoex.TermExpression object)
      Overrides:
      caseTermExpression in class de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
    • caseBooleanOperatorExpression

      public Object caseBooleanOperatorExpression(de.uka.ipd.sdq.stoex.BooleanOperatorExpression object)
      Overrides:
      caseBooleanOperatorExpression in class de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
    • caseNegativeExpression

      public Object caseNegativeExpression(de.uka.ipd.sdq.stoex.NegativeExpression object)
      Overrides:
      caseNegativeExpression in class de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
    • caseBoolLiteral

      public Object caseBoolLiteral(de.uka.ipd.sdq.stoex.BoolLiteral object)
      Overrides:
      caseBoolLiteral in class de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
    • caseNotExpression

      public Object caseNotExpression(de.uka.ipd.sdq.stoex.NotExpression object)
      Overrides:
      caseNotExpression in class de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
    • casePowerExpression

      public Object casePowerExpression(de.uka.ipd.sdq.stoex.PowerExpression object)
      Overrides:
      casePowerExpression in class de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
    • caseFunctionLiteral

      public Object caseFunctionLiteral(de.uka.ipd.sdq.stoex.FunctionLiteral object)
      Overrides:
      caseFunctionLiteral in class de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
    • caseIfElseExpression

      public Object caseIfElseExpression(de.uka.ipd.sdq.stoex.IfElseExpression object)
      Overrides:
      caseIfElseExpression in class de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>