00001 #include "eg_ddomino.h"
00002 #include "cookInterface.h"
00003 #include "eg_list.h"
00004 #include "eg_menger.h"
00005 #include "eg_mempool.h"
00006 #include "eg_ddpconstraint.h"
00007 #include "dp_config.h"
00008 #include "graph_boyer.h"
00009 #define EGPDP_DBGLVL 1000
00010 #define EGU2_LVL 1000
00011 #define EGFDOM_LVL 1000
00012 #define EGFD2DOM_LVL 1000
00013 #define EGPDP_FIX2PIE 1
00014 #define EGPDP_GETP2P 1
00015 #define EGGP2P_LVL 1000
00016 
00017 int EGfixDualDominos (EGlist_t * domino_list, 
00018 
00019                       int nnodes, 
00020 
00021                       int nedges, 
00022 
00023                       double *const weight, 
00024 
00025                       int *const edges, 
00026 
00027                       int *const elim_edges,  
00028 
00029                       int nelim_edges,  
00030 
00031                       graphP G, 
00032 
00033                       EGmemPool_t * mem); 
00034 
00035 int EGgetPrimalDP (EGddpConstraint_t * ddp, 
00036 
00037                    int nnodes,  
00038 
00039                    int nedges,  
00040 
00041                    int *const edges,  
00042 
00043                    int *const elim_edges, 
00044 
00045                    int nelim_edges, 
00046 
00047                    double *const weight,  
00048 
00049                    int *const ndom, 
00050 
00051                    int **const nAset, 
00052 
00053                    int **const nBset, 
00054 
00055                    int *const nHandle,  
00056 
00057                    int ***const Aset, 
00058 
00059                    int ***const Bset, 
00060 
00061                    int **const Handle,  
00062 
00063                    double *const violation, 
00064 
00065                    graphP G,    
00066 
00067                    EGmemPool_t * const mem);  
00068 
00069 
00070 
00071 
00072 
00073 
00074 int EGuntangleAllDomino (EGlist_t * ddom_list,
00075                          EGdGraph_t * dgraph,
00076                          EGlist_t ** embed,
00077                          EGmemPool_t * mem);