In this paper, a new algorithm named SGEGC was proposed. Inspired by selfish gene theory, SGEGC uses a vector of survival rate to model the condition distribution, which serves as a virtual population that is used to generate new individuals. While the present Estimation of Distribution Algorithms (EDAs) require much time to learn the complex relationships among variables, SGEGC employs an approach that exchanges the relevant genetic components. Experimental results show that the proposed approach is more efficient in convergent reliability and convergent velocity in comparison with BMDA, COMIT and MIMIC in the test functions.