abstract_max[T: TYPE, N: nat, size: [T -> upto[N]], P: pred[T]]: THEORY %------------------------------------------------------------------------------ % % The need for a function that returns the largest object that % satisfies a particular predicate arises in many contexts. Thus it is % useful to develop an "abstract" max theory that can be instantiated in % multiple ways to provide different max functions. Such a theory must % be parameterized by % % ------------------------------------------------------------------------- % | T: TYPE | the base type over which max is defined | % | size:[T -> nat] | the size function by which objects are compared | % | P: pred[T] | the property that the max function must satisfy | % ------------------------------------------------------------------------- % % Author: % % Ricky W. Butler NASA Langley % % Version 2.0 Last modified 10/21/97 % % Maintained by: % % Rick Butler NASA Langley Research Center % R.W.Butler@larc.nasa.gov % %------------------------------------------------------------------------------ BEGIN
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.