Class HASCOModelStatisticsPluginModel

    • Field Summary

      • Fields inherited from class ai.libs.jaicore.graphvisualizer.plugin.ASimpleMVCPluginModel

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addEntry​(ai.libs.jaicore.graphvisualizer.plugin.solutionperformanceplotter.ScoredSolutionCandidateInfo scoredSolutionCandidateInfo)
      Informs the plugin about a new HASCOSolution.
      void clear()
      Clears the model (and subsequently the view)
      ComponentInstance deserializeComponentInstance​(java.lang.String serializedComponentInstance)  
      java.util.Collection<ai.libs.jaicore.graphvisualizer.plugin.solutionperformanceplotter.ScoredSolutionCandidateInfo> getAllSeenSolutionCandidateFoundInfosUnordered()
      Gets an (unordered) collection of the solutions received so far.
      java.util.Map<java.lang.String,​Component> getKnownComponents()  
      org.apache.commons.math3.stat.descriptive.DescriptiveStatistics getPerformanceStatisticsForComposition​(UnparametrizedComponentInstance composition)  
      double parseScoreToDouble​(java.lang.String score)  
      • Methods inherited from class ai.libs.jaicore.graphvisualizer.plugin.ASimpleMVCPluginModel

        getController, getLoggerName, getView, setController, setLoggerName, setView
      • Methods inherited from class java.lang.Object

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

      • HASCOModelStatisticsPluginModel

        public HASCOModelStatisticsPluginModel()
    • Method Detail

      • addEntry

        public final void addEntry​(ai.libs.jaicore.graphvisualizer.plugin.solutionperformanceplotter.ScoredSolutionCandidateInfo scoredSolutionCandidateInfo)
        Informs the plugin about a new HASCOSolution. This solution will be considered in the combo boxes as well as in the histogram.
        Parameters:
        solutionEvent -
      • getAllSeenSolutionCandidateFoundInfosUnordered

        public java.util.Collection<ai.libs.jaicore.graphvisualizer.plugin.solutionperformanceplotter.ScoredSolutionCandidateInfo> getAllSeenSolutionCandidateFoundInfosUnordered()
        Gets an (unordered) collection of the solutions received so far.
        Returns:
        Collection of solutions.
      • getKnownComponents

        public java.util.Map<java.lang.String,​Component> getKnownComponents()
        Returns:
        A map that assigns, for each known component, its name to the Component object.
      • getPerformanceStatisticsForComposition

        public org.apache.commons.math3.stat.descriptive.DescriptiveStatistics getPerformanceStatisticsForComposition​(UnparametrizedComponentInstance composition)
        Parameters:
        composition -
        Returns:
      • deserializeComponentInstance

        public ComponentInstance deserializeComponentInstance​(java.lang.String serializedComponentInstance)
      • parseScoreToDouble

        public double parseScoreToDouble​(java.lang.String score)