jsbayes.js
function initNodeCpt(values, parents, probs) {
    var cpt = initCptWithParents(values, parents, 0);
    setNodeCptProbs(cpt, probs, 0);
    return cpt;
  }
function initNodeCpt(values, parents, probs) {
    var cpt = initCptWithParents(values, parents, 0);
    setNodeCptProbs(cpt, probs, 0);
    return cpt;
  }
function initNodeCpt ( values , parents , probs ) { var cpt = initCptWithParents ( values , parents , 0 ) ; setNodeCptProbs ( cpt , probs , 0 ) ; return cpt ; }
Initializes a node's CPT.
@param {Array} values Array of values.
@param {Array} parents Array of parents.
@param {Array} probs Array of arrays of probabilities.
@returns {Array} Array of nested arrays representing a CPT.
Initializes a node s CPT .