In network science, reciprocity is a measure of the likelihood of vertices in a directed network to be mutually linked. Like the clustering coefficient, scale-free degree distribution, or community structure, reciprocity is a quantitative measure used to study complex networks.
A traditional way to define the reciprocity r is using the ratio of the number of links pointing in both directions to the total number of links L
With this definition, is for a purely bidirectional network while for a purely unidirectional one. Real networks have an intermediate value between 0 and 1.