public static void addSoftEvidences ( Network bn , HashMap < String , HashMap < String , Double > > softEvidences ) throws ShanksException { for ( Entry < String , HashMap < String , Double > > softEvidence : softEvidences . entrySet ( ) ) { ShanksAgentBayesianReasoningCapability . addSoftEvidence ( bn , softEvidence . getKey ( ) , softEvidence . getValue ( ) ) ; } }
Add a set of soft - evidences to the Bayesian network to reason with it . It creates automatically the auxiliary nodes .