A method for calculating a transmission probability within a social network based on timing is proposed. The method for calculating the transmission probability within the social network based on timing includes a route probability calculating step, a first binary tree searching step and a second binary tree searching step. The route probability calculating step includes calculating a path probability array by time from the social network according to the PageRank algorithm. The first binary tree searching step includes enumerating a plurality of feasible spread vectors and a plurality of 1-lag temporal vectors corresponding to the feasible spread vectors according to a multi-state binary tree searching method. The second binary tree searching step includes enumerating a plurality of time-slot vectors of each of the 1-lag temporal vectors according to the multi-state binary tree searching method. The transmission probability calculating step includes calculating the transmission probability of the whole social network according to the path probability array and the time-slot vectors. Thus, the transmission probability calculated by transmission probability calculating step can be closed to the real condition. |