C + + sets class 1.0
Author: Stephen
Language: English
OS: Win95
Publisher: Abecedarical Systems
Homepage: http://home.att.net/~srschmitt/index.html
C + + sets class 1.0
Thank you for downloading
Free Download C + + sets class 1.0
The sets class can be used to perform set operations in your programs. It represents set elements as bits in a private array of unsigned long integers. The array size is a defined constant which can be changed to suit your application. ..
C + + sets class 1.0 Description
" New release "
33ware.com Editor: C + + sets class - The sets class can be used to perform set operations in your programs. It represents set elements as bits in a private array of unsigned long integers. The array size is a defined constant which can be changed to suit your application.
The sets class supports the following set operations by means of C + + operator overloading:
union
The union of two sets A, B is the set of all elements which belong to either A or B. In the sets class, the symbol + is the binary union operator:
A + B = { x: x is in A-or-x is in B }
intersection
The intersection of two sets A, B is the set of all elements which belong to both A and B. The symbol * is the binary intersection operator:
A * B = { x: x is in A-and-x is in B }
example
Let A = { 1, 2, 3, 4 } and B = { 3, 4, 5, 6 }. Then
A + B = { 1, 2, 3, 4, 5, 6 }
A * B = { 3, 4 }
complement
In set theory, sets are subsets of a fixed universal set U. In the sets class, U is the set of elements numbered from 1 to MAX_WORDS * WORD_SIZE. In the class declaration file below, the following definitions are made:
# define MAX_WORDS 2
# define WORD_SIZE ( 8 * sizeof ( unsigned long ) )
These parameters make the range of U, 1 to 64 in sets. To increase or decrease the size of U, change the defined value of MAX_WORDS.
The complement of set A is the set of elements belonging to U but not belonging to A. The symbol ~ is the unary complement operator:
~ A = { x: x is in U, x is not in A }
example
Let A = { 1, 2, 3, 4 } and B = { 3, 4, 5, 6 }. Then
~ A = { 5, 6, 7,... }
~ B = { 1, 2, 7, 8, 9,... }
difference
The difference of two sets A, B is the set of all elements which belong to A less those in B. The symbol-is the binary difference operator:
A-B = { x: x is in A, x is not in B }
example
Let A = { 1, 2, 3, 4 } and B = { 3, 4, 5, 6 }. Then
A-B = { 1, 2 }
It can be shown that A-B = A * ~ B.
symmetric difference
The symmetric difference of two sets A, B is the set of all elements which belong to A or to B, but not both.
C + + sets class 1.0 Related Software
- RocketReader Vocab British Edition 1.4 on your own vocabulary sets. You can make learning much more effective.that allows the whole class to develop new materials in a collaborative.e your data from....
- Allok Video to PSP Converter 5.2.0202 format. Integrated world class MPEG4 encoder brings you amazing video quality.screen. It automatically sets default PSP video filename,the...
- PMPro PSP Video Converter 3.0 PSP Movie. Integrated world class MPEG4 encoder brings you amazing video.so easily. It automatically sets default PSP video filename, captures video...
- Snapshotter Pro 1.00 thumbnail viewer and stats. Sets web pages time out. Sets thumbnail size to any size. Snap full html web page or optional dimensions. Sets the images.r.,..
- WebCab TA for. NET ( Community Edition ) 1 Three API Docs, Three Sets of Client Examples. Offering a 1st class. NET, COM, and XML Web service product. code 2. Quick and powerful search...
- Minestein 0.03 the minimum 3BV score select sets of standard puzzles to use puzzles.cell. Then a second click sets the answer for the cell if the user cannot work out the solution..Start...
- php session class-jsession 1.0 This is a secure session library that allows you to store all session information in a mysql database. Timeout functionality is also built-in, so.ponents....
- LinkedList 1.6 replacement for Java Vector class. Classical doubly linked list. Faster that Vector for insert / delete, but slower for indexed access. The....
- ContactGenie-Message Class Modifier 1.1.10 Verification that new message class name has been published supports Personal, Folder and.Internet. A great tool for.6 and includes all...
- Fireplace 3D Screensaver 1.0 say that watching a fire sets the human mind at rest. 3Planesoft makes.is the first in its class. It imitates the real world completely. Every small...



