Resource collection scenario using probabilistic reasoning