OR-Tools  8.2
ScpParser

Detailed Description

Definition at line 36 of file set_covering_parser.h.

Public Types

enum  Section {
  INIT , COSTS , COLUMN , NUM_COLUMNS_IN_ROW ,
  ROW , NUM_NON_ZEROS , END , ERROR
}
 
enum  Format { SCP_FORMAT , RAILROAD_FORMAT , TRIPLET_FORMAT , SPP_FORMAT }
 

Public Member Functions

 ScpParser ()
 
bool LoadProblem (const std::string &filename, Format format, ScpData *data)
 

Member Enumeration Documentation

◆ Format

enum Format
Enumerator
SCP_FORMAT 
RAILROAD_FORMAT 
TRIPLET_FORMAT 
SPP_FORMAT 

Definition at line 49 of file set_covering_parser.h.

◆ Section

enum Section
Enumerator
INIT 
COSTS 
COLUMN 
NUM_COLUMNS_IN_ROW 
ROW 
NUM_NON_ZEROS 
END 
ERROR 

Definition at line 38 of file set_covering_parser.h.

Constructor & Destructor Documentation

◆ ScpParser()

ScpParser ( )

Definition at line 23 of file set_covering_parser.cc.

Member Function Documentation

◆ LoadProblem()

bool LoadProblem ( const std::string &  filename,
Format  format,
ScpData data 
)

Definition at line 25 of file set_covering_parser.cc.


The documentation for this class was generated from the following files: