Package eu.simuline.relana.model
Class ProbDistr.Validator
- java.lang.Object
-
- eu.simuline.relana.model.ProbDistr.Validator
-
-
Field Summary
Fields Modifier and Type Field Description private Map<Deficiency,BigDecimal>
def2prob
Maps a deficiency which is either minimal or conditional to its probability.private Set<Deficiency>
degenerates
private Map<Deficiency,DeficiencySetNode>
extOrdering
Maps a deficiency to essentially a set of deficiencies it depends on.private Set<Deficiency>
invalids
-
Constructor Summary
Constructors Constructor Description Validator(Map<Deficiency,BigDecimal> def2prob)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Map<Deficiency,BigDecimal>
error()
(package private) DeficiencySetNode
get(Deficiency def)
(package private) BigDecimal
getProb(Set<Deficiency> defs)
(package private) boolean
isDegenerate()
(package private) boolean
isValid()
(package private) void
put(Deficiency def, DeficiencySetNode dsn)
(package private) void
put(Deficiency def, BigDecimal prob)
String
toString()
(package private) Map<Deficiency,BigDecimal>
warning()
(package private) Map<Deficiency,BigDecimal>
warningError(Set<Deficiency> invOrDeg)
-
-
-
Field Detail
-
extOrdering
private final Map<Deficiency,DeficiencySetNode> extOrdering
Maps a deficiency to essentially a set of deficiencies it depends on.
-
def2prob
private final Map<Deficiency,BigDecimal> def2prob
Maps a deficiency which is either minimal or conditional to its probability.
-
invalids
private final Set<Deficiency> invalids
-
degenerates
private final Set<Deficiency> degenerates
-
-
Constructor Detail
-
Validator
Validator(Map<Deficiency,BigDecimal> def2prob)
-
-
Method Detail
-
put
void put(Deficiency def, BigDecimal prob)
-
put
void put(Deficiency def, DeficiencySetNode dsn)
-
get
DeficiencySetNode get(Deficiency def)
-
isValid
boolean isValid()
-
isDegenerate
boolean isDegenerate()
-
error
Map<Deficiency,BigDecimal> error()
-
warning
Map<Deficiency,BigDecimal> warning()
-
warningError
Map<Deficiency,BigDecimal> warningError(Set<Deficiency> invOrDeg)
-
getProb
BigDecimal getProb(Set<Deficiency> defs)
-
-