Detailed Description
Saving routines for Steiner problems.
This file includes several saving routines for Steiner problems
A list of all interface methods can be found in grph.h.
Definition in file grphsave.c.
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include "portab.h"
#include "grph.h"
Go to the source code of this file.
Functions | |
void | SCIPwriteStp (SCIP *scip, const GRAPH *g, FILE *fp, SCIP_Real offset) |
static void | stp_save (const GRAPH *g, FILE *fp) |
static void | bea_save (const GRAPH *g, FILE *fp) |
void | graph_save (const GRAPH *g, const char *filename, FILETYPE type) |
Function Documentation
◆ SCIPwriteStp()
Definition at line 38 of file grphsave.c.
References GRAPH::cost, EAT_FREE, EAT_LAST, Edge_anti, GRAPH::edges, GRAPH::head, GRAPH::hoplimit, GRAPH::ieat, Is_term, GRAPH::knots, NULL, GRAPH::oeat, GRAPH::outbeg, SCIPisEQ(), GRAPH::source, STP_DCSTP, STP_DHCSTP, STP_MAGIC, STP_MWCSP, STP_NWSPG, STP_OARSMT, STP_PCSPG, STP_RPCSPG, STP_RSMT, STP_SPG, GRAPH::stp_type, GRAPH::tail, GRAPH::term, GRAPH::terms, VERSION_MAJOR, and VERSION_MINOR.
Referenced by SCIP_DECL_READERWRITE().
◆ stp_save()
|
static |
Definition at line 206 of file grphsave.c.
References GRAPH::cost, EAT_FREE, GRAPH::edges, GRAPH::head, GRAPH::ieat, Is_term, GRAPH::knots, NULL, GRAPH::oeat, STP_MAGIC, GRAPH::tail, GRAPH::term, GRAPH::terms, VERSION_MAJOR, and VERSION_MINOR.
Referenced by graph_save().
◆ bea_save()
|
static |
Definition at line 269 of file grphsave.c.
References GRAPH::cost, EAT_FREE, GRAPH::edges, GRAPH::head, GRAPH::ieat, Is_term, GRAPH::knots, NULL, GRAPH::oeat, GRAPH::tail, GRAPH::term, and GRAPH::terms.
Referenced by graph_save().
◆ graph_save()
Definition at line 309 of file grphsave.c.
References bea_save(), FALSE, FF_BEA, FF_GRD, FF_PRB, FF_STP, graph_valid(), NULL, and stp_save().