Utilization Of Total Mass As A Control In Diffusion Processes