public static HashMap<String, Float> getNodeHypotheses(Network bn,
            String nodeName, List<String> states) throws ShanksException {
        HashMap<String, Float> result = new HashMap<String, Float>();
        for (String status : states) {
            result.put(status, ShanksAgentBayesianReasoningCapability
                    .getHypothesis(bn, nodeName, status));
        }
        return result;
    }
public static HashMap < String , Float > getNodeHypotheses ( Network bn , String nodeName , List < String > states ) throws ShanksException { HashMap < String , Float > result = new HashMap < String , Float > ( ) ; for ( String status : states ) { result . put ( status , ShanksAgentBayesianReasoningCapability . getHypothesis ( bn , nodeName , status ) ) ; } return result ; }
Query several states of a node

@param bn
@param nodeName
@param states
@return
@throws UnknownNodeException
@throws UnknowkNodeStateException