Automatic derivation of utility functions for monitoring software requirements
Andres J. Ramirez, Betty H. C. Cheng · 2011
Abstract. Utility functions can be used to monitor requirements of a dynamically adaptive system (DAS). More specifically, a utility function maps monitoring information to a scalar value proportional to how well a requirement is satisfied. Utility functions may be manually elicited by requirements engineers, or indirectly inferred through statistical regres-sion techniques. This paper presents a goal-based requirements model-driven approach for automatically deriving state-, metric-, and fuzzy logic-based utility functions for RELAXed goal models. State- and fuzzy logic-based utility functions are responsible for detecting requirements vi-olations, and metric-based utility functions are used to detect conditions conducive to a requirements violation. We demonstrate the proposed ap-proach by applying it to the goal model of an intelligent vehicle system (IVS) and use the derived utility functions to monitor the IVS under different environmental conditions at run time. 1