Manipulate a counted ordered set.
Date/Time of Processing: Tuesday 24 May 1994 01:42:31Pm 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 241 Statements 64 Comments 66 Unidentified Withed Units -- 1 unidentified withed units
languages/ada/asr/new-abstractions/ordset:
File Name Size
--------- ----
ordset.zip 2,113
Totals
============== ==============
1 Files 2,113
Generic package OrderedSets manipulates a Set abstract data type,
which is a counted ordered set. Associated with each member
of the set is a count of the number of items it appears in the set.
In addition, there is an ordering associated with the members.
This allows fast insertion and makes it possible to iterate over the
set in order.
Operations are:
Cardinality Return the number of members in a set
Create Create an empty set
Destroy Destroy a set and return the space it occupies
GetCount Return the number of times some member appears in a set
Insert Insert a member into a set
MakeSetIter Create an iterator
More, Next Iteration functions
NEW_ABSTRACTIONS is used by NOSC/WIS tools 4.1.1 and 4.1.2.
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.