Class UtilisationResultCacheAndHelper

    • Constructor Detail

      • UtilisationResultCacheAndHelper

        public UtilisationResultCacheAndHelper()
    • Method Detail

      • getUnusedAvailableResourceContainers

        public Collection<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer> getUnusedAvailableResourceContainers​(DSEIndividual individual)
        Get all resource containers that are available in the design decisions but that have no components. Determines unused containers based on the allocation degrees of freedom.
        Parameters:
        individual -
        Returns:
      • getAvailableResourceContainers

        public Collection<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer> getAvailableResourceContainers​(DSEIndividual individual)
        Return all ResourceContainers available in the design decisions.
        Parameters:
        individual -
        Returns:
      • getMinProcUtilisationResult

        public org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.ProcessingResourceSpecificationResult getMinProcUtilisationResult​(DSEIndividual individual)
      • getMinProcUtilisationResult

        public org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.ProcessingResourceSpecificationResult getMinProcUtilisationResult​(DSEIndividual individual,
                                                                                                                                                             org.palladiosimulator.pcm.resourcetype.ResourceType resourceType)
        Returns the ProcessingResourceSpecificationResult with the lowest utilisation. Only of used resource containers.
        Parameters:
        individual -
        resourceType - may be null if any resource type is fine
        Returns:
      • getMaxLinkUtilisationResult

        public org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.LinkingResourceResults getMaxLinkUtilisationResult​(DSEIndividual individual)
        Link Resource types are not distinguished.
        Parameters:
        individual -
        Returns:
      • getMaxProcUtilisationResult

        public org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.ProcessingResourceSpecificationResult getMaxProcUtilisationResult​(DSEIndividual individual)
      • getMaxProcUtilisationResult

        public org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.ProcessingResourceSpecificationResult getMaxProcUtilisationResult​(DSEIndividual individual,
                                                                                                                                                             org.palladiosimulator.pcm.resourcetype.ResourceType resourceType)
        Returns the ProcessingResourceSpecificationResult with the highest utilisation. Only of used resource containers.
        Parameters:
        individual -
        resourceType - may be null if any resource type is fine
        Returns:
      • getProcessingResourceUtilisationResults

        public static List<org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.ProcessingResourceSpecificationResult> getProcessingResourceUtilisationResults​(DSEIndividual individual)
      • getResourceTypes

        public Set<org.palladiosimulator.pcm.resourcetype.ResourceType> getResourceTypes​(DSEIndividual individual)