public double calculateLogLikelihood(){
  double logL=0.0;
  for (  Statistic statistic : dataList) {
    for (int j=0; j < statistic.getDimension(); j++) {
      logL-=Math.log(statistic.getStatisticValue(j));
    }
  }
  return logL;
}

public double calculateLogLikelihood ( ) { double logL = 0.0 ; for ( Statistic statistic : dataList ) { for ( int j = 0 ; j < statistic . getDimension ( ) ; j ++ ) { logL -= Math . log ( statistic . getStatisticValue ( j ) ) ; } } return logL ; }
calculate the log likelihood of the current state .
