Package eu.simuline.relana.model
Class DeficiencySetNode
- java.lang.Object
- 
- eu.simuline.relana.model.DeficiencySetNode
 
- 
 public final class DeficiencySetNode extends Object Resolvation of a property within anSClassinto elementary stochastically independent properties. Created: Mon Apr 25 15:18:32 2005- Version:
- 1.0
- Author:
- Ernst Reissner
 
- 
- 
Field SummaryFields Modifier and Type Field Description private DeficiencydeficiencyTheDeficiencyto be resolved.private Set<Deficiency>deficiencySetThe set of elementaryDeficiencys resolvingdeficiency.
 - 
Constructor SummaryConstructors Constructor Description DeficiencySetNode(Deficiency deficiency, Set<Deficiency> deficiencySet)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DeficiencygetDeficiency()Returns theDeficiencyto be resolved.Set<Deficiency>getDeficiencySet()Returns the set of elementaryDeficiencys resolvingdeficiency.BigDecimalgetProb(Map<Deficiency,BigDecimal> def2prob)Returns the probability of the wrapped deficiencydeficiencyif replaced by the setdeficiencySetof deficiencies which are assumed to be independent.StringtoString()
 
- 
- 
- 
Field Detail- 
deficiencyprivate final Deficiency deficiency TheDeficiencyto be resolved.
 - 
deficiencySetprivate final Set<Deficiency> deficiencySet The set of elementaryDeficiencys resolvingdeficiency.
 
- 
 - 
Constructor Detail- 
DeficiencySetNodepublic DeficiencySetNode(Deficiency deficiency, Set<Deficiency> deficiencySet) 
 
- 
 - 
Method Detail- 
getDeficiencypublic Deficiency getDeficiency() Returns theDeficiencyto be resolved.- Returns:
- the Deficiencyto be resolved.
 
 - 
getDeficiencySetpublic Set<Deficiency> getDeficiencySet() Returns the set of elementaryDeficiencys resolvingdeficiency.- Returns:
- the set of elementary Deficiencys resolvingdeficiency.
 
 - 
getProbpublic BigDecimal getProb(Map<Deficiency,BigDecimal> def2prob) Returns the probability of the wrapped deficiencydeficiencyif replaced by the setdeficiencySetof deficiencies which are assumed to be independent.- Parameters:
- def2prob- a probability distribution the key set of which contains- deficiencySet.
- Returns:
- the doublevalue representing the probability of the deficiencydeficiencyor equivalently the probability of the simultaneous occurence ofdeficiencySet, independence assumed.
 
 
- 
 
-