Main Page   Class Hierarchy   Compound List   File List   Compound Members  

config.h

00001 // ** COMMON SETTINGS **
00002 // display verbose debugging messages
00003 #define DS_VERBOSE1(x) x
00004 #define DS_VERBOSE2(x)
00005 
00006 // logging
00007 #define DS_LOGGING1(x) x
00008 #define DS_LOGGING2(x) x
00009 
00010 // external sorting
00011 #define DS_INTERNAL_MEMORY_FOR_SORTING 650*1024*1024
00012 
00013 // default template parameters of EdgeVector
00014 // used by the first external bucket and by the input graph
00015 #define DS_DEFAULT_BLOCK_SIZE 2*1024*1024
00016 #define DS_DEFAULT_NO_OF_PAGES 1
00017 #define DS_DEFAULT_PAGE_SIZE 4
00018 #define DS_DEFAULT_PAGER lru_pager
00019 
00020 // template parameters of the mst object which stores the result
00021 #define DS_MST_BLOCK_SIZE 2*1024*1024
00022 #define DS_MST_NO_OF_PAGES 1
00023 #define DS_MST_PAGE_SIZE 4
00024 
00025 // remove duplicates
00026 #define DS_REMOVE_DUPLICATES(x) x
00027 #define DS_DONT_REMOVE_DUPLICATES(x)
00028 
00029 // randomize the input graph
00030 #define DS_RANDOMIZE(x) x
00031 #define DS_DONT_RANDOMIZE(x)
00032 
00033 // node reduction implementation
00034 #define DS_USE_BUCKETS(x) x
00035 #define DS_USE_PQUEUE(x)
00036 
00037 // ** BUCKETS IMPLEMENTATION **
00038 // external buckets
00039 #define DS_EXT_BUCKET_SIZE 1800000
00040 // (The size of the first external bucket is the number of nodes which
00041 //  fit in internal memory.)
00042 #define DS_EXT_FIRST_BUCKET_SIZE 160*1000*1000
00043 
00044 // template parameters of the external buckets
00045 // (these values don't apply to the first external bucket)
00046 #define DS_EXT_BLOCK_SIZE 512*1024
00047 #define DS_EXT_PAGE_SIZE 1
00048 #define DS_EXT_PREFETCH_POOL 4
00049 #define DS_EXT_WRITE_POOL 4
00050 
00051 // template parameters of the internal buckets
00052 #define DS_INT_EDGES_PER_BLOCK 8
00053 #define DS_INT_NO_OF_BLOCKS 1500000
00054 
00055 
00056 // ** PQUEUE IMPLEMENTATION **
00057 #define DS_PQUEUE_INTERNAL_MEMORY 500*1024*1024
00058 #define DS_PQUEUE_MAX_SIZE 3*1000*1000
00059 #define DS_PQUEUE_PREFETCH_POOL 50
00060 #define DS_PQUEUE_WRITE_POOL 50

Generated on Thu Aug 14 15:13:27 2003 for External Memory Minimum Spanning Trees by doxygen1.2.17