Home > src > BN_pol_rec > Hsand > getRandomPrior.m

getRandomPrior

PURPOSE ^

Random particle as policy

SYNOPSIS ^

function [soft_ev_elem, oldData] = getRandomPrior(ALL_soft_ev_elem_part, ALL_oldData_part, noOfPart)

DESCRIPTION ^

Random particle as policy

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 
0002 function [soft_ev_elem, oldData] = getRandomPrior(ALL_soft_ev_elem_part, ALL_oldData_part,  noOfPart)
0003 %Random particle as policy
0004 idx = round(1 + (noOfPart - 1)*rand);
0005 soft_ev_elem = ALL_soft_ev_elem_part{idx};
0006 oldData = ALL_oldData_part{idx};

Generated on Wed 16-Mar-2005 09:17:47 by m2html © 2003