Przejdź do głównej treści

Networks

Generowanie sieci na podstawie modelu Erdős-Rényi.

Opcje

  • maxNumNodes | number: maksymalna liczba węzłów, które mogą być wybrane do sieci. Default: 30.
  • showEdgeChart | boolean: kontroluje, czy ma być wyświetlany wykres pokazujący liczbę krawędzi w każdej generowanej sieci (reset przy zmianie liczby węzłów). Default: false.
  • showTransitivities | boolean: czy zsumować współczynniki aktywności tranzytowej / globalnego grupowania dla wygenerowanych sieci. Default: false.

Przykłady

Edytor na żywo
Wynik

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 .