Bayesian Networks For Real-Time Multi-Robot Task Allocation In A Generic Agent-Based Framework With Uncertainty