public class ILTPProblemReader extends java.lang.Object implements _ProblemReader
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
ILTPProblemReader()
Builds an instance of this problem description reader.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns a string describing this problem reader.
|
java.lang.String |
getName()
Returns the name of this problem reader.
|
ProblemDescription |
read(java.io.Reader input)
Returns a problem-description of the problem read from the specified input
stream.
|
public static final java.lang.String NAME
public ILTPProblemReader()
public ProblemDescription read(java.io.Reader input) throws ProblemDescriptionException, java.io.IOException
read
in interface _ProblemReader
input
- the input stream where the problem description is read.java.io.IOException
- if something goes wrong reading the file.ProblemDescriptionException
- if an error occurs while parsing one of
the problem formulas.public java.lang.String getDescription()
_ProblemReader
getDescription
in interface _ProblemReader
public java.lang.String getName()
_ProblemReader
getName
in interface _ProblemReader