RefInput Struct Reference

Detailed Description

REF reading data

Definition at line 76 of file reader_ref.c.

Public Attributes

SCIP_FILE * file
 
char linebuf [REF_MAX_LINELEN]
 
char * token
 
char * tokenbuf
 
char * pushedtokens [REF_MAX_PUSHEDTOKENS]
 
int npushedtokens
 
int linenumber
 
int linepos
 
int nblocks
 
int blocknr
 
int nassignedvars
 
int * blocksizes
 
int totalconss
 
int totalreadconss
 
SCIP_CONS ** masterconss
 
int nmasterconss
 
REFSECTION section
 
SCIP_Bool haserror
 
SCIP_HASHMAP * vartoblock
 
SCIP_HASHMAP * constoblock
 

Member Data Documentation

int RefInput::blocknr

current block number

Definition at line 87 of file reader_ref.c.

Referenced by getNextToken(), readBlocks(), readBlockSizes(), and SCIPreadRef().

int* RefInput::blocksizes

array of block sizes

Definition at line 89 of file reader_ref.c.

Referenced by readBlocks(), readBlockSizes(), readNBlocks(), and SCIPreadRef().

SCIP_HASHMAP* RefInput::constoblock

hashmap mapping constraints to blocks (1..nblocks)

Definition at line 97 of file reader_ref.c.

Referenced by readBlocks(), readREFFile(), and SCIPreadRef().

SCIP_FILE* RefInput::file

file to read

Definition at line 78 of file reader_ref.c.

Referenced by getNextLine(), readREFFile(), SCIP_DECL_READERWRITE(), and SCIPreadRef().

SCIP_Bool RefInput::haserror

flag to indicate an error occurence

Definition at line 95 of file reader_ref.c.

Referenced by getNextLine(), hasError(), SCIPreadRef(), and syntaxError().

char RefInput::linebuf[REF_MAX_LINELEN]

line buffer

Definition at line 79 of file reader_ref.c.

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

int RefInput::linenumber

current line number

Definition at line 84 of file reader_ref.c.

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

int RefInput::linepos

current line position (column)

Definition at line 85 of file reader_ref.c.

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

SCIP_CONS** RefInput::masterconss

array of constraints to be in the master

Definition at line 92 of file reader_ref.c.

Referenced by SCIPreadRef().

int RefInput::nassignedvars

number of assigned variables

Definition at line 88 of file reader_ref.c.

Referenced by readBlocks(), and SCIPreadRef().

int RefInput::nblocks

number of blocks

Definition at line 86 of file reader_ref.c.

Referenced by readBlocks(), readBlockSizes(), readNBlocks(), readREFFile(), SCIPreadRef(), and writeREFFile().

int RefInput::nmasterconss

number of constraints to be in the master

Definition at line 93 of file reader_ref.c.

Referenced by SCIPreadRef().

int RefInput::npushedtokens

size of token stack

Definition at line 83 of file reader_ref.c.

Referenced by getNextToken(), and SCIPreadRef().

char* RefInput::pushedtokens[REF_MAX_PUSHEDTOKENS]

token stack

Definition at line 82 of file reader_ref.c.

Referenced by getNextToken(), and SCIPreadRef().

REFSECTION RefInput::section

current section

Definition at line 94 of file reader_ref.c.

Referenced by getNextToken(), readNBlocks(), readREFFile(), and syntaxError().

char* RefInput::token

current token

Definition at line 80 of file reader_ref.c.

Referenced by getNextToken(), isInt(), SCIPreadRef(), and syntaxError().

char* RefInput::tokenbuf

token buffer

Definition at line 81 of file reader_ref.c.

Referenced by SCIPreadRef().

int RefInput::totalconss

total number of constraints

Definition at line 90 of file reader_ref.c.

Referenced by readBlockSizes(), and SCIPreadRef().

int RefInput::totalreadconss

total number of read constraints

Definition at line 91 of file reader_ref.c.

Referenced by readBlocks(), and SCIPreadRef().

SCIP_HASHMAP* RefInput::vartoblock

hashmap mapping variables to blocks (1..nblocks)

Definition at line 96 of file reader_ref.c.

Referenced by readBlocks(), readREFFile(), and SCIPreadRef().