C++ sets class 1.0

C++ sets class 1.0 Screenshot You can use the sets class to perform set operations in your programs.

Developer:   Abecedarical Systems
      software by Abecedarical Systems →
Price:  0.00
License:   Freeware
File size:   0K
Language:   
OS:   Windows Vista (?)
Rating:   0 /5 (0 votes)

You can use the sets class 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.

Requirements

tags the set  all elements  the sets  which belong  the symbol  elements which  sets class  two sets  max words  example let  the binary  difference the  symmetric difference  

C++ sets class 1.0 screenshot


Download C++ sets class 1.0

 Download C++ sets class 1.0


Similar software

C++ sets class 1.0 C++ sets class 1.0
Abecedarical Systems

You can use the sets class to perform set operations in your programs.

SynthGen 1.1 SynthGen 1.1
S.W. Upham

There are 10 sets of 100 images at 50 x 50 pixels each, providing a total of 1000 textures.

Mind Organizer 2.0 Mind Organizer 2.0
Jean-Marc Lepers

The Mind Organizer system surpasses the usual hierarchical organization of documents.

UploadrXL 0.9.0.38638 UploadrXL 0.9.0.38638
Rutger Smit

UploadrXL is an application which you can use for uploading one or more pictures to Flickr and add them immediately to your Sets of Groups.

Google Sets Script 1.0 Google Sets Script 1.0
Sooksoft

The google sets script from Sooksoft is ColdFusion-based and utilizes Google's BETA tool called Google Sets.

BackZip 0.5.3 BackZip 0.5.3
Jerry Fath

BackZip is a file backup software that stores backup sets in standard ZIP format.

Matrix Plugin 1.1 Matrix Plugin 1.1
Bob Delaney

Matrix Plugin for REALbasic 5 allows you to construct programs which, because of operator and function overloading, can handle real matrices much like doubles and integers are handled.

Tipsters 1.0 Tipsters 1.0
S.W. Upham

Create a rough sketched look and other hatching effects There are a total of 500 brushes in this first pack, with possibly further sets to follow later.

Digitalizer for Photoshop 1.24 Digitalizer for Photoshop 1.24
AlphaPlugins

Digitalizer is the plug-in module for Adobe Photoshop and other graphical editors which support Adobe plug-ins.

NuGenFractalX 1.1.10.06 NuGenFractalX 1.1.10.06
Genetibase

NuGenFractalX is a powerful fractal visualization and generation application for the .