searches the input distribution for the occurrence of the input action and returns its probability . concode_field_sep boolean rolloutsDecomposeOptions concode_field_sep Episode rollout concode_elem_sep Episode rollout concode_elem_sep Episode rollout concode_elem_sep Episode rollout concode_elem_sep void followAndRecordPolicy concode_elem_sep double actionProbFromEnum concode_elem_sep List<ActionProb> deterministicPolicyDistribution concode_elem_sep Action sampleFromActionDistribution
double function ( Action arg0 , List < ActionProb > arg1 ) { if ( arg1 == null || arg1 . isEmpty ( ) ) { throw new RuntimeException ( "srini_string" ) ; } for ( ActionProb loc0 : arg1 ) { if ( loc0 . ga . equals ( arg0 ) ) { return loc0 . pSelection ; } } return 0. ; }