Scippy

SCIP

Solving Constraint Integer Programs

special_distance_graph Struct Reference

Detailed Description

see reduce.h

Definition at line 46 of file reduce_sdgraph.c.

Data Fields

GRAPHdistgraph
 
PATHsdmst
 
SCIP_Realmstcosts
 
SCIP_Realmstsdist
 
int * nodemapOrgToDist
 
STP_Boolhalfedge_isInMst
 
SCIP_Real mstmaxcost
 
int nnodesorg
 
int nedgesorg
 
SCIP_Bool mstcostsReady
 
SCIP_Bool edgemarkReady
 
SCIP_Bool usingRMQ
 
SCIP_Realfullq_dists
 
int * fullq_nodeToIdx
 
int fullq_size
 
int fullq_dimension
 
int * rmq_nodeToRmqEntry
 
SCIP_Realrmq_sparseTable
 
SCIP_Realrmq_edgecosts
 
int rmq_loglength
 

Field Documentation

◆ distgraph

◆ sdmst

◆ mstcosts

◆ mstsdist

SCIP_Real* special_distance_graph::mstsdist

helper array; each entry needs to -1.0; of size nnodesorg

Definition at line 51 of file reduce_sdgraph.c.

Referenced by reduce_sdgraphFree(), reduce_sdgraphFreeFromDistGraph(), reduce_sdgraphGetSd(), sdgraphAlloc(), sdgraphAllocRestricted(), sdgraphGetSd(), and sdgraphSetDefaults().

◆ nodemapOrgToDist

◆ halfedge_isInMst

STP_Bool* special_distance_graph::halfedge_isInMst

◆ mstmaxcost

SCIP_Real special_distance_graph::mstmaxcost

◆ nnodesorg

int special_distance_graph::nnodesorg

number of nodes of original graph

Definition at line 56 of file reduce_sdgraph.c.

Referenced by reduce_sdgraphGetSd(), and sdgraphSetDefaults().

◆ nedgesorg

int special_distance_graph::nedgesorg

number of edges of original graph

Definition at line 57 of file reduce_sdgraph.c.

Referenced by sdgraphSetDefaults().

◆ mstcostsReady

SCIP_Bool special_distance_graph::mstcostsReady

are the mstcosts already available?

Definition at line 58 of file reduce_sdgraph.c.

Referenced by reduce_sdgraphHasOrderedMstCosts(), reduce_sdgraphInitOrderedMstCosts(), and sdgraphSetDefaults().

◆ edgemarkReady

SCIP_Bool special_distance_graph::edgemarkReady

edge mark available?

Definition at line 59 of file reduce_sdgraph.c.

Referenced by reduce_sdgraphHasMstHalfMark(), and sdgraphSetDefaults().

◆ usingRMQ

SCIP_Bool special_distance_graph::usingRMQ

is RMQ being used?

Definition at line 60 of file reduce_sdgraph.c.

Referenced by reduce_sdgraphGetSd(), sdgraphSetDefaults(), sdqueryFree(), sdqueryFullInit(), sdqueryInit(), and sdqueryRmqInit().

◆ fullq_dists

SCIP_Real* special_distance_graph::fullq_dists

of size |T| * |T - 1| or NULL

Definition at line 62 of file reduce_sdgraph.c.

Referenced by sdgraphSetDefaults(), sdqueryFree(), sdqueryFullBuild(), sdqueryFullGetSd(), and sdqueryFullInit().

◆ fullq_nodeToIdx

int* special_distance_graph::fullq_nodeToIdx

maps nodes of original graphs to full index; of size |V|

Definition at line 63 of file reduce_sdgraph.c.

Referenced by sdgraphSetDefaults(), sdqueryBuildNodesToFullMap(), sdqueryFree(), sdqueryFullGetSd(), and sdqueryFullInit().

◆ fullq_size

int special_distance_graph::fullq_size

|T - 1| * |T - 1| or |T - 1| * |T - 1| / 2

Definition at line 67 of file reduce_sdgraph.c.

Referenced by sdgraphSetDefaults(), sdqueryFullGetSd(), and sdqueryFullInit().

◆ fullq_dimension

int special_distance_graph::fullq_dimension

|T - 1|

Definition at line 68 of file reduce_sdgraph.c.

Referenced by sdgraphSetDefaults(), sdqueryFullGetSd(), and sdqueryFullInit().

◆ rmq_nodeToRmqEntry

int* special_distance_graph::rmq_nodeToRmqEntry

◆ rmq_sparseTable

SCIP_Real* special_distance_graph::rmq_sparseTable

of size rmq_log * 2 |T|

Definition at line 71 of file reduce_sdgraph.c.

Referenced by sdgraphSetDefaults(), sdqueryBuildRmqSparseTable(), sdqueryFree(), sdqueryGetSd(), and sdqueryRmqInit().

◆ rmq_edgecosts

SCIP_Real* special_distance_graph::rmq_edgecosts

◆ rmq_loglength

int special_distance_graph::rmq_loglength

log2(2|T| - 3)

Definition at line 73 of file reduce_sdgraph.c.

Referenced by sdgraphSetDefaults(), sdqueryBuildRmqSparseTable(), sdqueryGetSd(), and sdqueryRmqInit().