Μετάβαση στο κύριο περιεχόμενο

Networks

Δημιουργία δικτύων από ένα μοντέλο Erdős-Rényi.

Επιλογές

  • maxNumNodes | number: μέγιστος αριθμός κόμβων που μπορούν να επιλεγούν για το δίκτυο. Default: 30.
  • showEdgeChart | boolean: ελέγχει αν θα εμφανίζεται ένα διάγραμμα που θα εμφανίζει τον αριθμό των ακμών σε κάθε παραγόμενο δίκτυο (μηδενίζεται όταν αλλάζει ο αριθμός των κόμβων). Default: false.
  • showTransitivities | boolean: αν θα καταμετρηθούν οι μεταβατικότητες / οι συνολικοί συντελεστές ομαδοποίησης για τα παραγόμενα δίκτυα. Default: false.

Παραδείγματα

Live Editor
Αποτέλεσμα

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 .