Scippy

SCIP

Solving Constraint Integer Programs

SCIP_Hypergraph_Iter Struct Reference

Detailed Description

data for iterating over adjacent edges.

Definition at line 85 of file type_hypergraph.h.

#include <type_hypergraph.h>

Data Fields

SCIP_HYPERGRAPH_EDGE base
 
int vertexidx
 
SCIP_HYPERGRAPH_VERTEX minvertex
 
int edgeidx
 
SCIP_HYPERGRAPH_EDGE adjacent
 
int ncommonvertices
 
int sizecommonvertices
 
SCIP_HYPERGRAPH_VERTEXcommonvertices
 
SCIP_HYPERGRAPH_OVERLAP overlap
 
unsigned int minoverlapsize: 6
 
unsigned int onlylater: 1
 
unsigned int findoverlaps: 1
 

Field Documentation

◆ base

SCIP_HYPERGRAPH_EDGE SCIP_Hypergraph_Iter::base

Base edge for iteration.

Definition at line 87 of file type_hypergraph.h.

Referenced by SCIPhypergraphIterBase(), SCIPhypergraphIterInit(), SCIPhypergraphIterNext(), and SCIPhypergraphIterStart().

◆ vertexidx

int SCIP_Hypergraph_Iter::vertexidx

Index of incident vertex w.r.t. to base; initially -1; invalid if -2

Definition at line 88 of file type_hypergraph.h.

Referenced by SCIPhypergraphIterInit(), SCIPhypergraphIterNext(), SCIPhypergraphIterStart(), and SCIPhypergraphIterValid().

◆ minvertex

SCIP_HYPERGRAPH_VERTEX SCIP_Hypergraph_Iter::minvertex

◆ edgeidx

int SCIP_Hypergraph_Iter::edgeidx

Index of the adjacent edge w.r.t. to the vertex.

Definition at line 90 of file type_hypergraph.h.

Referenced by SCIPhypergraphIterInit(), SCIPhypergraphIterNext(), and SCIPhypergraphIterStart().

◆ adjacent

SCIP_HYPERGRAPH_EDGE SCIP_Hypergraph_Iter::adjacent

◆ ncommonvertices

int SCIP_Hypergraph_Iter::ncommonvertices

Number of common vertices.

Definition at line 92 of file type_hypergraph.h.

Referenced by SCIPhypergraphIterNext(), and SCIPhypergraphIterStart().

◆ sizecommonvertices

int SCIP_Hypergraph_Iter::sizecommonvertices

Memory allocated for common vertices.

Definition at line 93 of file type_hypergraph.h.

Referenced by SCIPhypergraphIterClear(), SCIPhypergraphIterInit(), and SCIPhypergraphIterNext().

◆ commonvertices

SCIP_HYPERGRAPH_VERTEX* SCIP_Hypergraph_Iter::commonvertices

Array of common vertices.

Definition at line 94 of file type_hypergraph.h.

Referenced by SCIPhypergraphIterClear(), SCIPhypergraphIterInit(), and SCIPhypergraphIterNext().

◆ overlap

SCIP_HYPERGRAPH_OVERLAP SCIP_Hypergraph_Iter::overlap

Overlap set of the intersection, if available; -2 if disabled.

Definition at line 95 of file type_hypergraph.h.

Referenced by SCIPhypergraphIterNext(), SCIPhypergraphIterOverlap(), and SCIPhypergraphIterStart().

◆ minoverlapsize

unsigned int SCIP_Hypergraph_Iter::minoverlapsize

Minimum size of the overlap.

Definition at line 96 of file type_hypergraph.h.

Referenced by SCIPhypergraphIterInit(), SCIPhypergraphIterNext(), and SCIPhypergraphIterStart().

◆ onlylater

unsigned int SCIP_Hypergraph_Iter::onlylater

Whether to only consider edges greater than the base edge.

Definition at line 97 of file type_hypergraph.h.

Referenced by SCIPhypergraphIterInit(), SCIPhypergraphIterNext(), and SCIPhypergraphIterStart().

◆ findoverlaps

unsigned int SCIP_Hypergraph_Iter::findoverlaps

Whether to compute the overlap sets.

Definition at line 98 of file type_hypergraph.h.

Referenced by SCIPhypergraphIterInit(), SCIPhypergraphIterNext(), and SCIPhypergraphIterStart().