Class ModelStatistics

java.lang.Object
net.ssehub.easy.varModel.confModel.AbstractConfigurationStatisticsVisitor.ConfigStatistics
eu.qualimaster.easy.extension.modelop.ModelStatistics

public class ModelStatistics extends net.ssehub.easy.varModel.confModel.AbstractConfigurationStatisticsVisitor.ConfigStatistics
Statistical information of the QualiMaster (Meta-) Model.
Author:
El-Sharkawy
  • Field Details

    • nSWAlgorithms

      private int nSWAlgorithms
    • nHWAlgorithms

      private int nHWAlgorithms
    • nSPAlgorithms

      private int nSPAlgorithms
    • nFamilies

      private int nFamilies
    • nGeneralMachines

      private int nGeneralMachines
    • nPipelines

      private int nPipelines
    • nSubPipelines

      private int nSubPipelines
    • nSources

      private int nSources
    • nFamilyElements

      private int nFamilyElements
    • nDMElements

      private int nDMElements
    • nReplaySinks

      private int nReplaySinks
    • nSinks

      private int nSinks
    • nFlows

      private int nFlows
    • nConstraints

      private int nConstraints
    • nOperations

      private int nOperations
    • nTopLevelDeclarations

      private int nTopLevelDeclarations
    • nNestedDeclarations

      private int nNestedDeclarations
    • nTopLevelAnnotations

      private int nTopLevelAnnotations
    • nNestedAnnotations

      private int nNestedAnnotations
  • Constructor Details

  • Method Details

    • incInstance

      void incInstance(String typeName)
      Counts a new variable instance.
      Parameters:
      typeName - The kind of model element to count, e.g., ALgorithm or Family. Must not be null.
    • setStaticConstraints

      void setStaticConstraints(int nConstraints)
      Sets the number of static constraints (nested directly in Projects).
      Parameters:
      nConstraints - Should be ≥ 0.
    • setOperations

      void setOperations(int nOperations)
      Sets the number of user defined operations.
      Parameters:
      nOperations - Should be ≥ 0.
    • setTopLevelDeclarations

      void setTopLevelDeclarations(int nTopLevelDeclarations)
      Sets the number of static declarations (nested directly in Projects).
      Parameters:
      nTopLevelDeclarations - Should be ≥ 0.
    • setNestedDeclarations

      void setNestedDeclarations(int nNestedDeclarations)
      Sets the number of static declarations (nested in Compounds).
      Parameters:
      nNestedDeclarations - Should be ≥ 0.
    • setTopLevelAnnotations

      void setTopLevelAnnotations(int nTopLevelAnnotations)
      Sets the number of static annotations (nested directly in Projects).
      Parameters:
      nTopLevelAnnotations - Should be ≥ 0.
    • setNestedAnnotations

      void setNestedAnnotations(int nNestedAnnotations)
      Sets the number of static annotations (nested in Compounds).
      Parameters:
      nNestedAnnotations - Should be ≥ 0.
    • noOfSWAlgorithms

      public int noOfSWAlgorithms()
      Returns the number of software algorithm instances.
      Returns:
      Will be ≥ 0.
    • noOfHWAlgorithms

      public int noOfHWAlgorithms()
      Returns the number of hardware algorithm instances.
      Returns:
      Will be ≥ 0.
    • noOfSPAlgorithms

      public int noOfSPAlgorithms()
      Returns the number of sub pipeline algorithm instances.
      Returns:
      Will be ≥ 0.
    • noOfFamilies

      public int noOfFamilies()
      Returns the number of family instances.
      Returns:
      Will be ≥ 0.
    • noOfGeneralMachines

      public int noOfGeneralMachines()
      Returns the number of general purpose machine instances.
      Returns:
      Will be ≥ 0.
    • noOfPipelines

      public int noOfPipelines()
      Returns the number of pipeline (without sub pipelines) instances.
      Returns:
      Will be ≥ 0.
    • noOfSubPipelines

      public int noOfSubPipelines()
      Returns the number of subpipeline instances.
      Returns:
      Will be ≥ 0.
    • noOfSources

      public int noOfSources()
      Returns the number of source instances.
      Returns:
      Will be ≥ 0.
    • noOfFamilyElements

      public int noOfFamilyElements()
      Returns the number of family element instances.
      Returns:
      Will be ≥ 0.
    • noOfDataManagementElements

      public int noOfDataManagementElements()
      Returns the number of data management instances.
      Returns:
      Will be ≥ 0.
    • noOfReplaySinks

      public int noOfReplaySinks()
      Returns the number of replay sink instances.
      Returns:
      Will be ≥ 0.
    • noOfSinks

      public int noOfSinks()
      Returns the number of sink (without replay sinks) instances.
      Returns:
      Will be ≥ 0.
    • noOfFlows

      public int noOfFlows()
      Returns the number of flow instances.
      Returns:
      Will be ≥ 0.
    • noOfConstraints

      public int noOfConstraints()
      Returns the number of constraints defined on project level.
      Returns:
      Will be ≥ 0.
    • noOfOperations

      public int noOfOperations()
      Returns the number of user defined operations.
      Returns:
      Will be ≥ 0.
    • noOfToplevelDeclarations

      public int noOfToplevelDeclarations()
      Returns the number of declarations nested inside the project (not part of compounds).
      Returns:
      Will be ≥ 0.
    • noOfNestedDeclarations

      public int noOfNestedDeclarations()
      Returns the number of declarations nested in compounds.
      Returns:
      Will be ≥ 0.
    • noOfNestedAnnotations

      public int noOfNestedAnnotations()
      Returns the number of annotations nested in compounds.
      Returns:
      Will be ≥ 0.
    • noOfToplevelAnnotations

      public int noOfToplevelAnnotations()
      Returns the number of annotations nested inside the project (not part of compounds).
      Returns:
      Will be ≥ 0.