DecInput Struct Reference

Detailed Description

DEC reading data

Definition at line 84 of file reader_dec.cpp.

Public Attributes

SCIP_FILE * file
 
char linebuf [DEC_MAX_LINELEN]
 
char * token
 
char * tokenbuf
 
char * pushedtokens [DEC_MAX_PUSHEDTOKENS]
 
int npushedtokens
 
int linenumber
 
int linepos
 
SCIP_Bool presolved
 
SCIP_Bool haspresolvesection
 
SCIP_Bool incomplete
 
int nblocks
 
int blocknr
 
DECSECTION section
 
SCIP_Bool haserror
 
SeeedPtr seeed
 

Member Data Documentation

int DecInput::blocknr

number of the currentblock between 0 and Nblocks-1

Definition at line 98 of file reader_dec.cpp.

Referenced by isNewSection(), readBlockconss(), readBlockvars(), and SCIPreadDec().

SCIP_FILE* DecInput::file

file to read

Definition at line 86 of file reader_dec.cpp.

Referenced by getNextLine(), readDECFile(), SCIP_DECL_READERWRITE(), and SCIPreadDec().

SCIP_Bool DecInput::haserror

flag to indicate an error occurence

Definition at line 100 of file reader_dec.cpp.

Referenced by getNextLine(), hasError(), readBlockconss(), readDECFile(), SCIPreadDec(), and syntaxError().

SCIP_Bool DecInput::haspresolvesection

does the decomposition have a presolved section

Definition at line 95 of file reader_dec.cpp.

Referenced by readDECFile(), readPresolved(), and SCIPreadDec().

SCIP_Bool DecInput::incomplete

if false the unspecified constraints should be forced to the master (for downward compatibility)

Definition at line 96 of file reader_dec.cpp.

Referenced by readDECFile(), readIncomplete(), and SCIPreadDec().

char DecInput::linebuf[DEC_MAX_LINELEN]

line buffer

Definition at line 87 of file reader_dec.cpp.

Referenced by getNextLine(), getNextToken(), SCIPreadDec(), and syntaxError().

int DecInput::linenumber

current line number

Definition at line 92 of file reader_dec.cpp.

Referenced by getNextLine(), getNextToken(), isNewSection(), SCIPreadDec(), and syntaxError().

int DecInput::linepos

current line position (column)

Definition at line 93 of file reader_dec.cpp.

Referenced by getNextLine(), getNextToken(), SCIPreadDec(), and syntaxError().

int DecInput::nblocks

number of blocks

Definition at line 97 of file reader_dec.cpp.

Referenced by isNewSection(), readNBlocks(), SCIPreadDec(), and writeData().

int DecInput::npushedtokens

size of token buffer

Definition at line 91 of file reader_dec.cpp.

Referenced by getNextToken(), pushToken(), and SCIPreadDec().

SCIP_Bool DecInput::presolved

does the decomposition refer to the presolved problem?

Definition at line 94 of file reader_dec.cpp.

Referenced by readBlockconss(), readDECFile(), readPresolved(), SCIPreadDec(), and writeData().

char* DecInput::pushedtokens[DEC_MAX_PUSHEDTOKENS]

token stack

Definition at line 90 of file reader_dec.cpp.

Referenced by getNextToken(), pushToken(), and SCIPreadDec().

DECSECTION DecInput::section

current section

Definition at line 99 of file reader_dec.cpp.

Referenced by getNextToken(), isNewSection(), readDECFile(), SCIPreadDec(), and syntaxError().

SeeedPtr DecInput::seeed

incomplete decomposition

Definition at line 101 of file reader_dec.cpp.

char* DecInput::tokenbuf

token buffer

Definition at line 89 of file reader_dec.cpp.

Referenced by SCIPreadDec(), and swapTokenBuffer().