Embedded Software

Embedded Software

Specialized Mean Implementation – Design a Median with ANSYS SCADE (Part 4 of 6)

    • Watch & LearnWatch & Learn
      Participant

      Specialization is the poor man’s genericity. In this video, the fourth in a series of six, we will have to rely on specialization to implement a generic Mean, which is required to implement our generic Median. For each concrete type bounded to the generic type we have used, we have to provide an implementation. Then we will declare that these implementations are specializations of the Mean, so that the tool can use the correct specialization depending on the actual value of the generic type for a given instance. We will check and simulate the model with the checker and the ANSYS SCADE Suite simulator. To be more efficient, we will create a scenario that we will be able to reuse later to save time.