|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.neu.ccs.util.MinMaxSolver
public class MinMaxSolver
Class for solving min max problem using numerical method
Constructor Summary | |
---|---|
MinMaxSolver()
|
Method Summary | |
---|---|
static double |
getOptimumBias(int rel1,
int rel2)
Calculate the optimum bias for the two relations |
static double |
getOptimumPrice(edu.neu.ccs.demeterf.demfgen.lib.List<gen.TypeInstance> relations)
Find the optimum price for input relations. |
static double |
getOptimumPrice(gen.RelationNr relation1,
gen.RelationNr relation2)
Find the optimum price for two relations |
static double |
getOptimumT(int rel1,
int rel2)
Calculate the optimum ratio x/x+y where x - weight for relation1 and y - weight for relation2 |
static double[] |
solveMinMax(int rel1,
int rel2)
Solves min max problem for two relations using numerical method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MinMaxSolver()
Method Detail |
---|
public static double[] solveMinMax(int rel1, int rel2)
rel1
- rel2
-
public static double getOptimumT(int rel1, int rel2)
rel1
- rel2
-
public static double getOptimumBias(int rel1, int rel2)
rel1
- rel2
-
public static double getOptimumPrice(edu.neu.ccs.demeterf.demfgen.lib.List<gen.TypeInstance> relations)
relations
-
public static double getOptimumPrice(gen.RelationNr relation1, gen.RelationNr relation2)
relation1
- relation2
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |