Complex network is of vital importance in many natural systems for it can describe different kinds of complex systems which contain a large number of units with nodes and edges separately representing the component units and the interaction between nodes.