Class VmAllocationPolicyMigrationLocalRegressionRobust

    • Constructor Detail

      • VmAllocationPolicyMigrationLocalRegressionRobust

        public VmAllocationPolicyMigrationLocalRegressionRobust​(PowerVmSelectionPolicy vmSelectionPolicy)
        Creates a VmAllocationPolicyMigrationLocalRegressionRobust with a safety parameter equals to 0 and no fallback policy.
        Parameters:
        vmSelectionPolicy - the policy that defines how VMs are selected for migration
      • VmAllocationPolicyMigrationLocalRegressionRobust

        public VmAllocationPolicyMigrationLocalRegressionRobust​(PowerVmSelectionPolicy vmSelectionPolicy,
                                                                double safetyParameter,
                                                                VmAllocationPolicyMigration fallbackVmAllocationPolicy)
        Creates a VmAllocationPolicyMigrationLocalRegressionRobust.
        Parameters:
        vmSelectionPolicy - the policy that defines how VMs are selected for migration
        safetyParameter - the safety parameter
        fallbackVmAllocationPolicy - the fallback VM allocation policy to be used when the over utilization host detection doesn't have data to be computed
    • Method Detail

      • getParameterEstimates

        protected double[] getParameterEstimates​(double[] reversedUsageHistory)
        Gets the utilization estimates.
        Overrides:
        getParameterEstimates in class VmAllocationPolicyMigrationLocalRegression
        Parameters:
        reversedUsageHistory - the utilization history in reverse order
        Returns:
        the utilization estimates