A cognitive module in a decision-making architecture for agents in urban simulations