|
grph.h
Go to the documentation of this file.
25 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 84 IDX** pcancestors; /**< list of ancestor edges to each node (to keep track of PC/MW reductions ) */ 193 extern SCIP_RETCODE graph_edge_reinsert(SCIP*, GRAPH*, int, int, int, SCIP_Real, IDX*, IDX*, IDX*, IDX*); 213 extern void graph_path_st(SCIP*, const GRAPH*, SCIP_Real*, SCIP_Real*, int*, int, unsigned int*, char*); 218 extern void getnext3terms(SCIP*, const GRAPH*, SCIP_Real*, SCIP_Real*, PATH*, int*, int*, int*); 219 extern void getnext4terms(SCIP*, const GRAPH*, SCIP_Real*, SCIP_Real*, PATH*, int*, int*, int*); 220 extern void getnext4tterms(SCIP*, const GRAPH*, SCIP_Real*, SCIP_Real*, PATH*, int*, int*, int*); 223 extern void voronoi_term(const GRAPH*, double*, double*, double*, PATH*, int*, int*, int*, int*, int); 224 extern void voronoi_hop(const GRAPH*, double*, double*, double*, PATH*, int*, int*, int*, int*, int*); 227 extern void voronoi_repair_mult(SCIP*, const GRAPH*, SCIP_Real*, int*, int*, int*, int*, char*, UF*, PATH*); 228 extern void voronoi_slrepair(SCIP*, const GRAPH*, SCIP_Real*, PATH*, int*, int*, int*, int, int); 230 extern void sdpaths(SCIP*, const GRAPH*, PATH*, SCIP_Real*, SCIP_Real, int*, int*, int*, int*, int, int, int); 232 extern SCIP_RETCODE voronoi_extend(SCIP*, const GRAPH*, SCIP_Real*, PATH*, VLIST**, char*, int*, int*, int*, int, int, int); 233 extern SCIP_RETCODE voronoi_extend2(SCIP*, const GRAPH*, SCIP_Real*, PATH*, SCIP_Real**, int**, int**, char*, int*, int*, int*, int, int, int); 235 extern SCIP_RETCODE voronoi_dist(SCIP*, const GRAPH*, SCIP_Real*, double*, int*, int*, int*, int*, int*, int*, PATH*); 236 extern SCIP_RETCODE voronoi_radius(SCIP* scip, const GRAPH*, GRAPH*, PATH*, SCIP_Real*, SCIP_Real*, SCIP_Real*, int*, int*, int*); 266 extern SCIP_RETCODE sd_reduction(SCIP*, GRAPH*, SCIP_Real*, SCIP_Real*, SCIP_Real*, SCIP_Real*, SCIP_Real*, int*, int*, int*, int*, int, unsigned int*); 267 extern SCIP_RETCODE sdsp_reduction(SCIP*, GRAPH*, PATH*, PATH*, int*, int*, int*, int*, int*, int*, int); 268 extern SCIP_RETCODE sdsp_sap_reduction(SCIP*, GRAPH*, PATH*, PATH*, int*, int*, int*, int*, int*, int*, int); 269 extern SCIP_RETCODE sd_red(SCIP*, GRAPH*, PATH*, SCIP_Real*, SCIP_Real*, int*, int*, int*, int*, int*, int*, int*); 270 extern SCIP_RETCODE sdpc_reduction(SCIP*, GRAPH*, PATH*, SCIP_Real*, int*, int*, int*, int*, int*, int*); 272 extern SCIP_RETCODE getSD(SCIP*, GRAPH*, PATH*, PATH*, SCIP_Real*, SCIP_Real, int*, int*, int*, int*, int*, int, int, int, SCIP_Bool, SCIP_Bool); 273 extern SCIP_RETCODE bd3_reduction(SCIP*, GRAPH*, PATH*, PATH*, int*, int*, int*, int*, int*, int*, int); 274 extern SCIP_RETCODE bdr_reduction(SCIP*, GRAPH*, GRAPH*, PATH*, PATH*, SCIP_Real*, SCIP_Real*, SCIP_Real*, int*, int*, int*, int*, int*); 276 extern SCIP_RETCODE nv_reductionAdv(SCIP*, GRAPH*, PATH*, SCIP_Real*, double*, int*, int*, int*, int*, int*, int*, int*); 277 extern SCIP_RETCODE sl_reduction(SCIP*, GRAPH*, PATH*, double*, int*, int*, int*, int*, char*, int*); 283 extern SCIP_RETCODE nnpReduction(SCIP*, GRAPH*, SCIP_Real*, int*, int*, int*, int*, int, char*); 284 extern SCIP_RETCODE npvReduction(SCIP*, GRAPH*, PATH*, PATH*, int*, int*, int*, int*, int*, int*, int); 285 extern SCIP_RETCODE chain2Reduction(SCIP*, GRAPH*, PATH*, PATH*, int*, int*, int*, int*, int*, int*, int); 289 extern SCIP_RETCODE da_reduce(SCIP*, GRAPH*, PATH*, GNODE**, SCIP_Real*, SCIP_Real*, SCIP_Real*, int*, int*, int*, int*, int*, char*, int*); 290 extern SCIP_RETCODE daPc_reduce(SCIP*, GRAPH*, PATH*, GNODE**, SCIP_Real*, SCIP_Real*, SCIP_Real*, int*, int*, int*, int*, char*, int*); 291 extern SCIP_RETCODE bound_reduce(SCIP*, GRAPH*, PATH*, SCIP_Real*, SCIP_Real*, SCIP_Real*, SCIP_Real*, SCIP_Real*, SCIP_Real*, int*, int*, int*, int*); 292 extern SCIP_RETCODE hopbound_reduce(SCIP*, GRAPH*, PATH*, SCIP_Real*, SCIP_Real*, SCIP_Real*, int*, int*, int*, int*); 293 extern SCIP_RETCODE hcrbound_reduce(SCIP*, GRAPH*, PATH*, SCIP_Real*, SCIP_Real*, SCIP_Real*, int*, int*, int*, int*, int*); 294 extern SCIP_RETCODE hcrcbound_reduce(SCIP*, GRAPH*, PATH*, SCIP_Real*, SCIP_Real*, SCIP_Real*, SCIP_Real, int*, int*, int*, int*, int*, SCIP_Bool);
Definition: grph.h:127 void get3next(SCIP *, const GRAPH *, SCIP_Real *, SCIP_Real *, PATH *, int *, int *, int *) Definition: grphpath.c:1310 Definition: misc_stp.h:66 struct presolve_info PRESOL SCIP_RETCODE hcrcbound_reduce(SCIP *, GRAPH *, PATH *, SCIP_Real *, SCIP_Real *, SCIP_Real *, SCIP_Real, int *, int *, int *, int *, int *, SCIP_Bool) Definition: reduce_bnd.c:1878 SCIP_RETCODE sd2_reduction(SCIP *, GRAPH *, SCIP_Real *, int *, int *) Definition: reduce_alt.c:1799 Definition: grph.h:167 void graph_writefig(const GRAPH *, const char *, const double *, int) SCIP_RETCODE nnpReduction(SCIP *, GRAPH *, SCIP_Real *, int *, int *, int *, int *, int, char *) Definition: reduce_alt.c:5564 void getnext4tterms(SCIP *, const GRAPH *, SCIP_Real *, SCIP_Real *, PATH *, int *, int *, int *) Definition: grphpath.c:1603 void voronoi_hop(const GRAPH *, double *, double *, double *, PATH *, int *, int *, int *, int *, int *) SCIP_RETCODE voronoi_extend(SCIP *, const GRAPH *, SCIP_Real *, PATH *, VLIST **, char *, int *, int *, int *, int, int, int) Definition: grphpath.c:862 Definition: grph.h:167 SCIP_RETCODE SCIPvalidateStpSol(SCIP *, const GRAPH *, const double *, SCIP_Bool *) Definition: validate.c:206 SCIP_RETCODE graph_PcSapCopy(SCIP *, GRAPH *, GRAPH **, SCIP_Real *) Definition: grphbase.c:792 SCIP_RETCODE sdpc_reduction(SCIP *, GRAPH *, PATH *, SCIP_Real *, int *, int *, int *, int *, int *, int *) Definition: reduce_alt.c:1144 void get4next(SCIP *, const GRAPH *, SCIP_Real *, SCIP_Real *, PATH *, int *, int *, int *) Definition: grphpath.c:1417 SCIP_RETCODE graph_obstgrid_create(SCIP *, GRAPH **, int **, int **, int, int, int, int) Definition: grphbase.c:374 SCIP_RETCODE graph_edge_reinsert(SCIP *, GRAPH *, int, int, int, SCIP_Real, IDX *, IDX *, IDX *, IDX *) Definition: grphbase.c:1846 SCIP_RETCODE graph_rootprize_transform(SCIP *, GRAPH *) Definition: grphbase.c:955 Definition: misc_stp.h:42 void sdpaths(SCIP *, const GRAPH *, PATH *, SCIP_Real *, SCIP_Real, int *, int *, int *, int *, int, int, int) Definition: grphpath.c:542 Definition: grph.h:167 struct shortest_path PATH void voronoi_repair(SCIP *, const GRAPH *, SCIP_Real *, int *, int *, PATH *, int *, int, UF *) Definition: grphpath.c:2211 SCIP_RETCODE graph_knot_contract(SCIP *, GRAPH *, int, int) Definition: grphbase.c:1415 Definition: grph.h:137 SCIP_RETCODE npvReduction(SCIP *, GRAPH *, PATH *, PATH *, int *, int *, int *, int *, int *, int *, int) Definition: reduce_alt.c:5146 void get2next(SCIP *, const GRAPH *, SCIP_Real *, SCIP_Real *, PATH *, int *, int *, int *) Definition: grphpath.c:1214 void graph_boxcoord(GRAPH *g) SCIP_RETCODE degree_test(SCIP *, GRAPH *, SCIP_Real *, int *) Definition: reduce_simple.c:390 int graph_edge_redirect(SCIP *, GRAPH *, int, int, int, SCIP_Real) Definition: grphbase.c:1783 SCIP_RETCODE getSD(SCIP *, GRAPH *, PATH *, PATH *, SCIP_Real *, SCIP_Real, int *, int *, int *, int *, int *, int, int, int, SCIP_Bool, SCIP_Bool) Definition: reduce_alt.c:1658 Definition: misc_stp.h:50 void voronoi(SCIP *scip, const GRAPH *, SCIP_Real *, SCIP_Real *, char *, int *, PATH *) Definition: grphpath.c:1034 SCIP_RETCODE ansadvReduction(SCIP *, GRAPH *, SCIP_Real *, int *, int *) Definition: reduce_alt.c:4867 void graph_path_execX(SCIP *, const GRAPH *, int, SCIP_Real *, SCIP_Real *, int *) Definition: grphpath.c:639 SCIP_RETCODE voronoi_extend2(SCIP *, const GRAPH *, SCIP_Real *, PATH *, SCIP_Real **, int **, int **, char *, int *, int *, int *, int, int, int) Definition: grphpath.c:954 SCIP_RETCODE hopbound_reduce(SCIP *, GRAPH *, PATH *, SCIP_Real *, SCIP_Real *, SCIP_Real *, int *, int *, int *, int *) Definition: reduce_bnd.c:1552 void graph_knot_contract_dir(GRAPH *, int, int) miscellaneous methods used for solving Steiner problems void graph_bfscoord(GRAPH *g) SCIP_RETCODE sd_red(SCIP *, GRAPH *, PATH *, SCIP_Real *, SCIP_Real *, int *, int *, int *, int *, int *, int *, int *) Definition: reduce_alt.c:598 SCIP_RETCODE voronoi_radius(SCIP *scip, const GRAPH *, GRAPH *, PATH *, SCIP_Real *, SCIP_Real *, SCIP_Real *, int *, int *, int *) Definition: grphpath.c:1912 SCIP_RETCODE sdsp_sap_reduction(SCIP *, GRAPH *, PATH *, PATH *, int *, int *, int *, int *, int *, int *, int) Definition: reduce_alt.c:1900 SCIP_RETCODE graph_grid_coordinates(SCIP *, int **, int **, int *, int, int) Definition: grphbase.c:691 SCIP_RETCODE graph_MwcsToSap(SCIP *, GRAPH *, SCIP_Real *) Definition: grphbase.c:1079 SCIP_RETCODE rptReduction(SCIP *, GRAPH *, SCIP_Real *, int *) Definition: reduce_simple.c:739 void voronoi_terms(SCIP *, const GRAPH *, SCIP_Real *, PATH *, int *, int *, int *) Definition: grphpath.c:1679 void getnext4terms(SCIP *, const GRAPH *, SCIP_Real *, SCIP_Real *, PATH *, int *, int *, int *) Definition: grphpath.c:1562 void voronoi_term(const GRAPH *, double *, double *, double *, PATH *, int *, int *, int *, int *, int) SCIP_RETCODE degree_test_mw(SCIP *, GRAPH *, SCIP_Real *, int *) Definition: reduce_simple.c:811 SCIP_RETCODE sd_reduction(SCIP *, GRAPH *, SCIP_Real *, SCIP_Real *, SCIP_Real *, SCIP_Real *, SCIP_Real *, int *, int *, int *, int *, int, unsigned int *) Definition: reduce_alt.c:2227 SCIP_RETCODE degree_test_pc(SCIP *, GRAPH *, SCIP_Real *, int *) Definition: reduce_simple.c:1048 void graph_path_st(SCIP *, const GRAPH *, SCIP_Real *, SCIP_Real *, int *, int, unsigned int *, char *) Definition: grphpath.c:707 SCIP_RETCODE chain2Reduction(SCIP *, GRAPH *, PATH *, PATH *, int *, int *, int *, int *, int *, int *, int) Definition: reduce_alt.c:5484 SCIP_RETCODE graph_maxweight_transform(SCIP *, GRAPH *, SCIP_Real *) Definition: grphbase.c:1020 void getnext3terms(SCIP *, const GRAPH *, SCIP_Real *, SCIP_Real *, PATH *, int *, int *, int *) Definition: grphpath.c:1526 SCIP_RETCODE degree_test_hc(SCIP *, GRAPH *, SCIP_Real *, int *) Definition: reduce_simple.c:968 SCIP_RETCODE ledge_reduction(SCIP *, GRAPH *, PATH *, int *, int *, int *, int *) Definition: reduce_alt.c:4372 SCIP_RETCODE daPc_reduce(SCIP *, GRAPH *, PATH *, GNODE **, SCIP_Real *, SCIP_Real *, SCIP_Real *, int *, int *, int *, int *, char *, int *) Definition: reduce_bnd.c:577 void voronoi_slrepair(SCIP *, const GRAPH *, SCIP_Real *, PATH *, int *, int *, int *, int, int) Definition: grphpath.c:2136 SCIP_RETCODE bd3_reduction(SCIP *, GRAPH *, PATH *, PATH *, int *, int *, int *, int *, int *, int *, int) Definition: reduce_alt.c:2817 void voronoi_repair_mult(SCIP *, const GRAPH *, SCIP_Real *, int *, int *, int *, int *, char *, UF *, PATH *) Definition: grphpath.c:2289 SCIP_RETCODE bdr_reduction(SCIP *, GRAPH *, GRAPH *, PATH *, PATH *, SCIP_Real *, SCIP_Real *, SCIP_Real *, int *, int *, int *, int *, int *) Definition: reduce_alt.c:2538 Definition: misc_stp.h:35 SCIP_RETCODE graph_load(SCIP *, GRAPH **, const char *, PRESOL *) Definition: grphload.c:780 SCIP_RETCODE graph_knot_contractpc(SCIP *, GRAPH *, int, int, int) Definition: grphbase.c:1679 SCIP_RETCODE ansadv2Reduction(SCIP *, GRAPH *, SCIP_Real *, int *, int *) Definition: reduce_alt.c:4991 SCIP_RETCODE sl_reduction(SCIP *, GRAPH *, PATH *, double *, int *, int *, int *, int *, char *, int *) Definition: reduce_alt.c:3656 void voronoi_inout(const GRAPH *) SCIP_RETCODE degree_test_sap(SCIP *, GRAPH *, SCIP_Real *, int *) Definition: reduce_simple.c:566 SCIP_RETCODE bound_reduce(SCIP *, GRAPH *, PATH *, SCIP_Real *, SCIP_Real *, SCIP_Real *, SCIP_Real *, SCIP_Real *, SCIP_Real *, int *, int *, int *, int *) Definition: reduce_bnd.c:845 SCIP_RETCODE cnsAdvReduction(SCIP *, GRAPH *, int *, int *) Definition: reduce_alt.c:4675 SCIP_RETCODE nv_reduction(SCIP *, GRAPH *, PATH *, double *, int *, int *, int *, int *, int *) Definition: reduce_alt.c:3892 SCIP_RETCODE hcrbound_reduce(SCIP *, GRAPH *, PATH *, SCIP_Real *, SCIP_Real *, SCIP_Real *, int *, int *, int *, int *, int *) Definition: reduce_bnd.c:1750 SCIP_RETCODE ansReduction(SCIP *, GRAPH *, SCIP_Real *, int *, int *) Definition: reduce_alt.c:4579 void voronoiSteinerTreeExt(SCIP *, const GRAPH *, SCIP_Real *, int *, char *, PATH *) Definition: grphpath.c:1121 Definition: grph.h:167 SCIP_RETCODE da_reduce(SCIP *, GRAPH *, PATH *, GNODE **, SCIP_Real *, SCIP_Real *, SCIP_Real *, int *, int *, int *, int *, int *, char *, int *) Definition: reduce_bnd.c:202 SCIP_RETCODE sdsp_reduction(SCIP *, GRAPH *, PATH *, PATH *, int *, int *, int *, int *, int *, int *, int) Definition: reduce_alt.c:2058 void graph_edge_add(SCIP *, GRAPH *, int, int, double, double) SCIP_RETCODE graph_grid_create(SCIP *, GRAPH **, int **, int, int, int) Definition: grphbase.c:535 void graph_path_exec(SCIP *, const GRAPH *, int, int, SCIP_Real *, PATH *) Definition: grphpath.c:453 SCIP_RETCODE nv_reductionAdv(SCIP *, GRAPH *, PATH *, SCIP_Real *, double *, int *, int *, int *, int *, int *, int *, int *) Definition: reduce_alt.c:4083 SCIP_RETCODE voronoi_dist(SCIP *, const GRAPH *, SCIP_Real *, double *, int *, int *, int *, int *, int *, int *, PATH *) void graph_mincut_exec(GRAPH *, int, int, const int *, int *, int) Definition: grphmcut.c:568 |