Sandia Home Sandia Home
Main Page | Publications | Downloads | Configuration | Running the Code | Solver Parameters | FAQ | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

setoper.h

Go to the documentation of this file.
00001 
00043 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00044 
00045 /* Header file for setoper.c  */
00046 
00047 /* setoper.c: 
00048  * A set operation library 
00049  * created by Komei Fukuda, Nov.14, 1993
00050  * last modified on June 1, 2000
00051  */
00052 
00053 #ifndef  __SETOPER_H
00054 #define  __SETOPER_H
00055 #endif  /* __SETOPER_H */
00056 
00057 #include <stdio.h>
00058 #include <stdlib.h>
00059 
00060 typedef unsigned long *set_type;   /* set type definition */
00061 
00062 typedef unsigned char set_card_lut_t;
00063 
00064 unsigned long set_blocks(long len);
00065 void set_initialize(set_type *setp,long len);
00066 void set_free(set_type set);
00067 void set_emptyset(set_type set);
00068 void set_copy(set_type setcopy,set_type set);
00069 void set_addelem(set_type set, long elem);
00070 void set_delelem(set_type set, long elem);
00071 void set_int(set_type set,set_type set1,set_type set2);
00072 void set_uni(set_type set,set_type set1,set_type set2);
00073 void set_diff(set_type set,set_type set1,set_type set2);
00074 void set_compl(set_type set,set_type set1);
00075 int set_subset(set_type set1,set_type set2);
00076 int set_member(long elem, set_type set);
00077 long set_card(set_type set);
00078 long set_groundsize(set_type set); /* output the size of the ground set */
00079 void set_write(set_type set);
00080 void set_fwrite(FILE *f,set_type set);
00081 void set_fwrite_compl(FILE *f,set_type set); /* write the complement */
00082 void set_binwrite(set_type set);
00083 void set_fbinwrite(FILE *f,set_type set);
00084 
00085 
00086 
00087 /* End of File: setoper.h */
00088 
00089 #endif

 

© Sandia Corporation | Site Contact | Privacy and Security

Generated on Fri Feb 16 10:33:35 2007 for APPSPACK 5.0.1 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2002