question: public double localScore ( int i , int ... parents ) { ConditionalGaussianLikelihood . Ret ret = likelihood . getLikelihoodRatio ( i , parents ) ; int N = dataSet . getNumRows ( ) ; double lik = ret . getLik ( ) ; int k = ret . getDof ( ) ; double prior = getStructurePrior ( parents ) ; return 2.0 * lik - k * Math . log ( N ) + prior ; }
target:  Calculates the sample likelihood and BIC score for i given its parents in a simple SEM model