This repository contains three matlab codes:
-
Entropy_Q.m calculates the entropy of randomized network ensembles with given assignment of features
-
Entropy_distance.m calculates the entropy of randomize network ensembles with given distance distribution
-
Theta.m calulates the Theta indicator of a given network with feature of the nodes
These codes can be redistributed and/or modified under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
These programs are distributed ny the authors in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you use any of these codes please cite
[1] G. Bianconi, P. Pin, M. Marsili Assessing the relevance of node features for network structure Proceedings of the National Academy of Sciences 106, no. 28 (2009): 11433-1143