DistinguishSimpleComplex

Code of the article 'Distinguishing mechanisms of social contagion from local network view', which aims to classify infected ego-nodes between the simple and the complex contagions.
