Class HASCOModelStatisticsPluginModel

    • 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)
                                  throws java.lang.NumberFormatException
        Throws:
        java.lang.NumberFormatException