/*
# %M% %Y% %I%
# The latest update : %G% at %U%
#
#%Z% leosBayesInit ver %I%
#%Z% Created by 
#%Z%
#%Z% Usage : leosBayesInit 
#%Z% Attention
#%Z%
*/
static char __sccs_id[] = "%Z%leosBayesInit ver%I%; Date:%D% %Z%";


#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "../inc/eosBayes.h"


void leosBayesInit(eosBayes* b, int numDistribution, int numLikelihood, int mode){
	
	b->numDistribution = numDistribution;
	b->numLikelihood   = numLikelihood;

	b->prior = (eosBayesDistribution*)malloc(sizeof(eosBayesDistribution)*numDistribution);
	b->posterior = (eosBayesDistribution*)malloc(sizeof(eosBayesDistribution)*numDistribution);

	b->likelihood = (eosBayesDistribution*)malloc(sizeof(eosBayesDistribution)*numLikelihood); 

}
