Treci la conținutul principal

Networks

Generarea de rețele dintr-un model Erdős-Rényi.

Opțiuni

  • maxNumNodes | number: numărul maxim de noduri care pot fi selectate pentru rețea. Default: 30.
  • showEdgeChart | boolean: controlează dacă se afișează sau nu un grafic care să afișeze numărul de muchii din fiecare rețea generată (se resetează atunci când se modifică numărul de noduri). Default: false.
  • showTransitivities | boolean: dacă trebuie să se contabilizeze tranzitivitățile / coeficienții de grupare globală pentru rețelele generate. Default: false.

Exemple

Editor live
Rezultat

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 .