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;
}

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 ; }
calculates the sample likelihood and bic score for i given its parents in a simple sem model
