|
jInfer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cuni.mff.ksi.jinfer.iss.heuristics.construction.glpk.GlpkRunner
public final class GlpkRunner
Utility class for GLPK invocation.
| Method Summary | |
|---|---|
static String |
run(AMModel model,
double alpha,
double beta,
int timeLimit)
|
static String |
run(AMModel model,
List<AttributeMappingId> fixed,
double alpha,
double beta,
int timeLimit)
Constructs the GLPK problem formulation from the provided model, runs GLPK optimalization and returns the resulting file in a string. |
static String |
run(String inputString,
int timeLimit)
Runs GLPK optimalization on the specified input (has to be already in MathProg format) and returns the resulting file in a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String run(AMModel model,
double alpha,
double beta,
int timeLimit)
throws InterruptedException
InterruptedExceptionrun(cz.cuni.mff.ksi.jinfer.iss.objects.AMModel, java.util.List, double, double, int)
public static String run(AMModel model,
List<AttributeMappingId> fixed,
double alpha,
double beta,
int timeLimit)
throws InterruptedException
model - Model to find "optimal" ID set in.fixed - List of attribute mappings that should be present in the
solution.alpha - Weight of the attribute mapping support in its total weight.beta - Weight of the attribute mapping coverage in its total weight.timeLimit - Time limit for this GLPK run in seconds.
InterruptedException
public static String run(String inputString,
int timeLimit)
throws InterruptedException
inputString - String representation of the GLPK input in MathProg
format.timeLimit - Time limit for this GLPK run in seconds.
InterruptedException
|
jInfer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||