Ugrás a fő tartalomra

Networks

Hálózatok generálása Erdős-Rényi modellből.

Opciók

  • maxNumNodes | number: a hálózathoz kiválasztható csomópontok maximális száma. Default: 30.
  • showEdgeChart | boolean: vezérli, hogy megjelenjen-e egy diagram, amely az élek számát mutatja minden egyes generált hálózatban (visszaáll, ha a csomópontok száma megváltozik).. Default: false.
  • showTransitivities | boolean: a generált hálózatok tranzitivitásainak / globális klaszterezési együtthatóinak összeszámlálása. Default: false.

Példák

Élő szerkesztő
Eredmény

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 .