finiteSet

Section: OATH Reference Manual (3O)
Updated: 26 August 1991
Index Return to Main Contents
 

NAME

finiteSet (finiteSetA, finiteSetG) - a set with a finite domain  

SYNOPSIS

#include <oath/finiteSet.h>  

DESCRIPTION

The finiteSet is a set with a finite domain. By virtue of the finite domain, the operation invert() is meaningful and often very useful.  

DERIVATION

finiteSet : set : bag : obj

finiteSet is an abstract type.  

STATIC OPERATIONS

finiteSetA finiteSetA:: isa (objA)
finiteSetA::isa(O) returns O if it is truly a finiteSet; otherwise it returns Nil.
 

MEMBER OPERATIONS

finiteSetA finiteSetA:: invert ()
S.invert() inserts every obj in finiteSet S's domain that is not in S and removes those that are in S.
finiteSetA finiteSetA:: operator ~ ()
~S is the same as (+S).invert().
 

INTERNAL OPERATIONS

virtual void finiteSetG:: invert ()
 

SEE ALSO

OATH(3O), set(3O)  

AUTHOR

Brian M. Kennedy (Computer Science Center, Texas Instruments Incorporated)  

BUGS


 

Index

NAME
SYNOPSIS
DESCRIPTION
DERIVATION
STATIC OPERATIONS
MEMBER OPERATIONS
INTERNAL OPERATIONS
SEE ALSO
AUTHOR
BUGS

This document was created by man2html, using the manual pages.
Time: 20:37:51 GMT, July 24, 2024