Class QMConfigStatisticsVisitor

java.lang.Object
net.ssehub.easy.varModel.confModel.AbstractConfigurationVisitor
net.ssehub.easy.varModel.confModel.AbstractConfigurationStatisticsVisitor
eu.qualimaster.easy.extension.modelop.QMConfigStatisticsVisitor
All Implemented Interfaces:
net.ssehub.easy.varModel.confModel.IConfigurationVisitor

public class QMConfigStatisticsVisitor extends net.ssehub.easy.varModel.confModel.AbstractConfigurationStatisticsVisitor
Gathers statistical information about the QualiMaster (Meta-) Model.
Author:
El-Sharkawy
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.ssehub.easy.varModel.confModel.AbstractConfigurationStatisticsVisitor

    net.ssehub.easy.varModel.confModel.AbstractConfigurationStatisticsVisitor.ConfigStatistics
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a fresh model statistics visitor for the QualiMaster (Meta-) Model.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the statistics of the QM (Meta-) Model after the configuration was visited.
    protected void
    specialTreatment(net.ssehub.easy.varModel.confModel.IDecisionVariable variable)
     
    protected void
    specialTreatment(net.ssehub.easy.varModel.model.Project mainProject)
     

    Methods inherited from class net.ssehub.easy.varModel.confModel.AbstractConfigurationStatisticsVisitor

    processEvalConstraints, visitAssignment, visitConfiguration, visitConstraint, visitDecisionVariable, visitDefaultValue, visitOperationDefinition, visitVariable, visitVariableContainer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • QMConfigStatisticsVisitor

      public QMConfigStatisticsVisitor()
      Creates a fresh model statistics visitor for the QualiMaster (Meta-) Model.
  • Method Details

    • specialTreatment

      protected void specialTreatment(net.ssehub.easy.varModel.confModel.IDecisionVariable variable)
      Specified by:
      specialTreatment in class net.ssehub.easy.varModel.confModel.AbstractConfigurationStatisticsVisitor
    • specialTreatment

      protected void specialTreatment(net.ssehub.easy.varModel.model.Project mainProject)
      Specified by:
      specialTreatment in class net.ssehub.easy.varModel.confModel.AbstractConfigurationStatisticsVisitor
    • getStatistics

      public ModelStatistics getStatistics()
      Returns the statistics of the QM (Meta-) Model after the configuration was visited.
      Overrides:
      getStatistics in class net.ssehub.easy.varModel.confModel.AbstractConfigurationStatisticsVisitor
      Returns:
      The statistics of the QM (Meta-) Model, will be empty if the visit method was not called before.