A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scip.zib.de/doc/html/reader__cyc_8c_source.php below:

SCIP Doxygen Documentation: applications/CycleClustering/src/reader_cyc.c Source File

43#define READER_NAME "cycreader" 44#define READER_DESC "file reader for a .cyc-file with a transition matrix for a cycle clustering problem" 45#define READER_EXTENSION "cyc" 47#define COL_MAX_LINELEN 10000 63 while

( isspace(**s) )

68 while

( (**s != 0) && (!isspace(**s)) )

94

assert(filename !=

NULL

);

107 while

( !

SCIPfeof

(fp) && (buf[0] !=

'#'

|| buf[2] !=

'p'

) )

109 SCIPfgets

(buf, (

int

)

sizeof

(buf), fp);

130 if

( ncluster <= 0 || nbins <= ncluster )

132 SCIPerrorMessage

(

"Number of cluster must be positive and smaller than number of bins!\n"

);

138 for

( i = 0; i < nbins; i++ )

145 while

( !

SCIPfeof

(fp) && i < nbins )

147 SCIPfgets

(buf, (

int

)

sizeof

(buf), fp);

149 for

( col = 0; col < nbins; ++col )

156 SCIPerrorMessage

(

"more lines than expected: expected %d many, but got already %d'th (non-duplicate) edge"

,

170 for

( i = nbins - 1; i >= 0; i-- )

191

assert(reader !=

NULL

);

201

assert(reader !=

NULL

);

204

assert(result !=

NULL

);

236 "factor to scale the cohrence in the target function"

,

NULL

,

FALSE

, 0.001, 0.0, 1.0,

NULL

,

NULL

) );

SCIP_FILE * SCIPfopen(const char *path, const char *mode)

int SCIPfeof(SCIP_FILE *stream)

int SCIPfclose(SCIP_FILE *fp)

char * SCIPfgets(char *s, int size, SCIP_FILE *stream)

void SCIPinfoMessage(SCIP *scip, FILE *file, const char *formatstr,...)

SCIP_RETCODE SCIPaddCharParam(SCIP *scip, const char *name, const char *desc, char *valueptr, SCIP_Bool isadvanced, char defaultvalue, const char *allowedvalues, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)

SCIP_RETCODE SCIPaddRealParam(SCIP *scip, const char *name, const char *desc, SCIP_Real *valueptr, SCIP_Bool isadvanced, SCIP_Real defaultvalue, SCIP_Real minvalue, SCIP_Real maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)

SCIP_RETCODE SCIPaddBoolParam(SCIP *scip, const char *name, const char *desc, SCIP_Bool *valueptr, SCIP_Bool isadvanced, SCIP_Bool defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)

#define SCIPallocMemoryArray(scip, ptr, num)

#define SCIPfreeMemoryArray(scip, ptr)

SCIP_RETCODE SCIPincludeReaderBasic(SCIP *scip, SCIP_READER **readerptr, const char *name, const char *desc, const char *extension, SCIP_READERDATA *readerdata)

SCIP_RETCODE SCIPsetReaderCopy(SCIP *scip, SCIP_READER *reader, SCIP_DECL_READERCOPY((*readercopy)))

const char * SCIPreaderGetName(SCIP_READER *reader)

SCIP_RETCODE SCIPsetReaderRead(SCIP *scip, SCIP_READER *reader, SCIP_DECL_READERREAD((*readerread)))

SCIP_RETCODE SCIPcreateProbCyc(SCIP *scip, const char *name, int nbins, int ncluster, SCIP_Real **cmatrix)

problem data for cycle clustering problem

struct SCIP_File SCIP_FILE

static SCIP_DECL_READERREAD(readerReadCyc)

SCIP_RETCODE SCIPincludeReaderCyc(SCIP *scip)

static SCIP_Real getNextNumber(char **s)

static SCIP_RETCODE readCyc(SCIP *scip, const char *filename)

static SCIP_DECL_READERCOPY(readerCopyCyc)

file reader for cycle clustering instances

struct SCIP_ReaderData SCIP_READERDATA

enum SCIP_Retcode SCIP_RETCODE


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4