Class CustomEstimate

All Implemented Interfaces:
Estimate, Notifier, EObject, EStructuralFeature.Internal.DynamicValueHolder, InternalEObject

public class CustomEstimate extends be.kuleuven.cs.distrinet.sparta.spartamodel.impl.EstimateImpl implements Estimate
Custom Estimate implementation, used when new estimates need to be created during the analysis (for example, parameterizing default attacker profiles).

Values are stored in the generated EMF features via the inherited setters rather than in shadow fields, so reflective access (eGet) and the typed getters stay consistent.

  • Constructor Details

    • CustomEstimate

      public CustomEstimate(double min, double prob, double max, double conf)
      Create a new custom estimate. This class provides the parameters for the modified PERT distribution.
      Parameters:
      min - - the minimum
      prob - - the most probable value
      max - - the maximum
      conf - - the confidence in the estimate
    • CustomEstimate

      public CustomEstimate(double min, double prob, double max, double conf, String name)
      Create a new custom estimate. This class provides the parameters for the modified PERT distribution.
      Parameters:
      min - - the minimum
      prob - - the most probable value
      max - - the maximum
      conf - - the confidence in the estimate
      name - - the name of the estimate