#include "eg_dijkstra.h"
#include "eg_dijkstra_app.h"
#include "eg_dgraph.h"
#include "eg_greedytypes.h"
#include "eg_greedykp.h"
Include dependency graph for eg_kppairs.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | KPPAIRS_VERBOSE 100 |
Functions | |
int | EGgenerateInternalPairs (EGgreedyData_t *const data, EGdkdomino_t *const zerodom, const unsigned int orientation, EGlist_t *const pairs, const unsigned max_pairs, double const percentage, unsigned char *const node_mark, unsigned char *const edge_mark, EGdGraphNode_t **const dc_nodes) |
return in a heap, all pairs in the boundary of the zero domino, whose total value (i.e. even path + internal path) is less than two. | |
void | EGinternalPairsClear (void *pair, EGmemPool_t *mem) |
destructor for greedytypes | |
void | EGfreeInternalPairs (void *pair, EGmemPool_t *mem) |
destructor for greedytypes | |
int | EGgetCutNodes (EGgreedyData_t *const data, EGdualCut_t *const dualcut, const unsigned int orientation, int *const cutsz, int **const cutnodes, unsigned char *const node_mark, unsigned char *const edge_mark) |
given a cut and an orientation, return the primal nodes in the cut with that orientation. | |
int | EGgetANodes (EGgreedyData_t *const data, EGdkdomino_t *const kdom, int unsigned const k, int *const cutsz, int **const cutnodes, unsigned char *const node_mark, unsigned char *const edge_mark, EGdGraphEdge_t **const dc_nodes) |
given a k-dom and a path, return the primal nodes in the A halve, the orientation is taken from the k-dom structure. | |
int | EGgetOrientation (EGgreedyData_t *const data, EGdualCut_t *const dualcut, int unsigned const pathsz, EGdGraphEdge_t **const path, unsigned int *const orientation, unsigned char *const node_mark, unsigned char *const edge_mark) |
given a dual cut and an internal path, return the orientation of the path. | |
int | EGgetDualCut (EGgreedyData_t *const data, EGdualCut_t **const dualcut, const int pset_sz, const int *const pset, unsigned char *const node_mark, unsigned char *const edge_mark, EGdGraphEdge_t **const dc_edges) |
Given a primal cut, return a dual cut. |
|
verbose level Definition at line 136 of file eg_kppairs.h. |
|
destructor for greedytypes
Definition at line 336 of file eg_kppairs.c. |
|
return in a heap, all pairs in the boundary of the zero domino, whose total value (i.e. even path + internal path) is less than two.
Definition at line 125 of file eg_kppairs.c. |
|
given a k-dom and a path, return the primal nodes in the A halve, the orientation is taken from the k-dom structure.
Definition at line 395 of file eg_kppairs.c. |
|
given a cut and an orientation, return the primal nodes in the cut with that orientation.
Definition at line 344 of file eg_kppairs.c. |
|
Given a primal cut, return a dual cut.
Definition at line 548 of file eg_kppairs.c. |
|
given a dual cut and an internal path, return the orientation of the path.
Definition at line 496 of file eg_kppairs.c. |
|
destructor for greedytypes
Definition at line 319 of file eg_kppairs.c. |