Class ExecutionTimeAttributes

    • Field Detail

      • executionTime

        public Parameter executionTime
        The executionTime parameter specifies the execution time of the decorated object. This means the time that the decorated actor occupies the decorator resource when it fires. This is a double that defaults to 0.0.
    • Method Detail

      • canSimulateExecutionFor

        public boolean canSimulateExecutionFor​(NamedObj target)
        Return whether the target can have an execution time that can be simulated. For instance, it does not make sense to simulate execution time of states in modal models, but it does make sense to monitor the execution of states such as entry times.
        Parameters:
        target - The object decorated with the attributes.
        Returns:
        True if execution target can have execution time.