Energy gap of tight-binding electrons on generalized honeycomb lattice