|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectUaiMapSolution
public class UaiMapSolution
A solution for a problem. The competition now only uses MPE or P (e).
Field Summary | |
---|---|
Map<String,Object> |
info
Additional information from the algorithm in the form of |
Map<FiniteVariable,Object> |
instantiation
The instantiation of MAP variables. |
double |
log_probability
The computed mpe probability in log_e space or Double.NaN if computing P (e). |
BigDecimal |
probability
The computed P (e) or null if computing MPE. |
Constructor Summary | |
---|---|
UaiMapSolution()
The constructor, which sets instantiation, probability, and info to null and log_probability to Double.NaN. |
Method Summary | |
---|---|
static BigDecimal |
toBigDecimal(double d)
Converts a double to a big decimal. |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Map<String,Object> info
public Map<FiniteVariable,Object> instantiation
public BigDecimal probability
public double log_probability
Constructor Detail |
---|
public UaiMapSolution()
Method Detail |
---|
public static BigDecimal toBigDecimal(double d)
d
- the given double.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |