Manipulate counted ordered sets
Date/Time of Processing: Tuesday 24 May 1994 01:19:30Pm Overall Assessment of System: OK Classification of System: B Basis of Classification -- Syntax Errors PASS Completeness PASS Independence from External Libraries FAIL Independence from a Specific Ada Compiler PASS Explanations for failures -- System withs non-standard library units that are not provided Number of ... Files 2 Library Units 2 Lines 265 Statements 64 Comments 80 Unidentified Withed Units -- 1 unidentified withed units
languages/ada/asr/abstractions/ordset: File Name Size --------- ---- ordset.zip 2,251 Totals ============== ============== 1 Files 2,251
This generic package manipulates a SET abstract data type with a SetIter iterator as a counted ordered set. The counted part means that associated with each member of the set is a count of the number of times it appears in the SET. The ordered part means that there is an ordering associated with the members. This allows for fast insertion into the SET and an ease of iteration over the SET. Operations provided in this package are: Cardinality Returns the cardinality of the set Create Creates the empty set CountMember Returns the number of times the member appears in the set Destroy Reclaims space occupied by a SET Insert Inserts a member into a SET MakeSetIter Create an iterator for a SET More, Next Iteration functions ABSTRACTIONS is used by NOSC/WIS tools 5.1.1, 5.1.2, 6.1.2, and 6.2. See also NEW_ABSTRACTIONS.
DATE VERSION AUTHOR HISTORY 03/85 1.0 Bill Toscano Initial Release
This prologue must be included in all copies of this software. This software is copyright by the author. This software is released to the Ada community. This software is released to the Public Domain (note: software released to the Public Domain is not subject to copyright protection). Restrictions on use or distribution: NONE
This software and its documentation are provided "AS IS" and without any expressed or implied warranties whatsoever. No warranties as to performance, merchantability, or fitness for a particular purpose exist. The user is advised to test the software thoroughly before relying on it. The user must assume the entire risk and liability of using this software. In no event shall any person or organization of people be held responsible for any direct, indirect, consequential or inconsequential damages or lost profits.