Премини към основното съдържание

Networks

Генериране на мрежи от модел на Ердьос-Рени.

Опции

  • maxNumNodes | number: максимален брой възли, които могат да бъдат избрани за мрежата. Default: 30.
  • showEdgeChart | boolean: контролира дали да се показва диаграма, показваща броя на ребрата във всяка генерирана мрежа (нулира се при промяна на броя на възлите). Default: false.
  • showTransitivities | boolean: дали да изчислявате транзитивността / глобалните коефициенти на клъстеризация за генерираните мрежи. Default: false.

Примери

Редактор в реално време
Резултат

In a network, the nodes are assumed to be fixed but the edges are random, i.e. there is some random process which determines whether there is an edge connecting two nodes.

Let us consider one of the simplest available network models. In the Erdős–Rényi model, there is a fixed probability that an edge exists between any two nodes. We also assume that whether or not an edge exists between two nodes is independent of whether or not other edges exist.

In this model, if we have nodes, each node can be connected to other nodes. The number of edges attached to each node (the degree) is then .