88 bool* pisCorrectForest
170 size_t* orderedColumns,
Functionality for the row and column elements of a matrix.
Basic functionality of the software library.
CMR_ERROR
Type for return codes of library functions.
Definition: env.h:32
Functionality for graphs.
CMR_EXPORT CMR_ERROR CMRgraphicStatsPrint(FILE *stream, CMR_GRAPHIC_STATISTICS *stats, const char *prefix)
Prints statistics for graphicness computations.
Definition: graphic.c:45
CMR_EXPORT CMR_ERROR CMRgraphicStatsInit(CMR_GRAPHIC_STATISTICS *stats)
Initializes all statistics for graphicness computations.
Definition: graphic.c:29
CMR_EXPORT CMR_ERROR CMRgraphicTestTranspose(CMR *cmr, CMR_CHRMAT *matrix, bool *pisCographic, CMR_GRAPH **pgraph, CMR_GRAPH_EDGE **pforestEdges, CMR_GRAPH_EDGE **pcoforestEdges, CMR_SUBMAT **psubmatrix, CMR_GRAPHIC_STATISTICS *stats, double timeLimit)
Tests a matrix for being a cographic matrix.
Definition: graphic.c:5448
CMR_EXPORT CMR_ERROR CMRgraphicTestMatrix(CMR *cmr, CMR_CHRMAT *matrix, bool *pisGraphic, CMR_GRAPH **pgraph, CMR_GRAPH_EDGE **pforestEdges, CMR_GRAPH_EDGE **pcoforestEdges, CMR_SUBMAT **psubmatrix, CMR_GRAPHIC_STATISTICS *stats, double timeLimit)
Tests a matrix for being a graphic matrix.
Definition: graphic.c:5530
CMR_EXPORT CMR_ERROR CMRgraphicTestColumnSubmatrixGreedy(CMR *cmr, CMR_CHRMAT *transpose, size_t *orderedColumns, CMR_SUBMAT **psubmatrix)
Finds an inclusion-wise maximal subset of columns that induces a graphic submatrix.
CMR_EXPORT CMR_ERROR CMRgraphicComputeMatrix(CMR *cmr, CMR_GRAPH *graph, CMR_CHRMAT **pmatrix, CMR_CHRMAT **ptranspose, int numForestEdges, CMR_GRAPH_EDGE *forestEdges, int numCoforestEdges, CMR_GRAPH_EDGE *coforestEdges, bool *pisCorrectForest)
Computes the graphic matrix of a given graph .
Definition: graphic.c:378
int CMR_GRAPH_EDGE
Reference to an edge of CMR_GRAPH.
Definition: graph.h:31
Functionality for sparse matrices.
Row-wise representation of sparse char matrix.
Definition: matrix.h:220
Definition: env_internal.h:45
Statistics for graphicness test.
Definition: graphic.h:34
uint32_t checkCount
Definition: graphic.h:37
double transposeTime
Definition: graphic.h:42
double totalTime
Definition: graphic.h:36
uint32_t totalCount
Definition: graphic.h:35
uint32_t transposeCount
Definition: graphic.h:41
double applyTime
Definition: graphic.h:40
uint32_t applyCount
Definition: graphic.h:39
double checkTime
Definition: graphic.h:38
Row and column indices for a submatrix.
Definition: matrix.h:28