Passa al contenuto principale

Networks

Generare reti da un modello Erdős-Rényi.

Opzioni

  • maxNumNodes | number: numero massimo di nodi che possono essere selezionati per la rete. Default: 30.
  • showEdgeChart | boolean: controlla se visualizzare un grafico che mostra il numero di bordi in ogni rete generata (reset al cambio del numero di nodi). Default: false.
  • showTransitivities | boolean: se conteggiare le transitività / coefficienti di clustering globale per le reti generate. Default: false.

Esempi

Editore dal vivo
Risultato

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 .