|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.mff.ksi.jinfer.iss.heuristics.construction.glpk.GlpkOutputParser
public final class GlpkOutputParser
Utility class for parsing the GLPK optimization result into a set of attribute mappings from the "optimal" ID set.
Method Summary | |
---|---|
static IdSet |
getIDSet(String output,
AMModel model)
Parses the string representing the GLPK optimization result and returns a list of attribute mappings belonging to the "optimal" ID set. |
static IdSet |
getIDSet(String output,
AMModel model,
boolean isFixed)
Parses the string representing the GLPK optimization result and returns a list of attribute mappings belonging to the "optimal" ID set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IdSet getIDSet(String output, AMModel model)
output
- String representation of the GLPK result. Basically the file
that GLPK produces loaded into a string.model
- Model to which all the AMs belong.
public static IdSet getIDSet(String output, AMModel model, boolean isFixed)
output
- String representation of the GLPK result. Basically the file
that GLPK produces loaded into a string.model
- Model to which all the AMs belong.isFixed
- Flag whether there were any fixed variables. If
true
, optimum possibly found by GLPK is not an optimal ID set.
|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |