出典:Wikipedia
出典:『Wikipedia』 (2010/12/17 14:55 UTC 版)
A program in Feature Oriented Software Development (FOSD) is a composition of functions (program transformations): a base program (modeled by a nullary function) is composed with increments in program functionality, called features (which are unary functions), to produce a complex program. A software product line (SPL) is a family of related programs. Suppose product line PL has F0 as a base program, and F1..Fn as features that could be added to F0. Different compositions of these functions/transformations yield different programs. For this discussion, let + denote function composition. A program P in PL might have the following expression: