Energy-efficient task allocation for reliable parallel computation of cluster-based wireless sensor network in edge computing