Fuzzy based tool to measure the resilience of communities