Variable Models

Models: {
    GenerateErdosReyni_n_p: ((n, p) => Promise<Graph>);
}

Type declaration

  • GenerateErdosReyni_n_p: ((n, p) => Promise<Graph>)
      • (n, p): Promise<Graph>
      • The G ( n , p ) G(n,p) model, a graph is constructed by connecting labeled nodes randomly. Each edge is included in the graph with probability p p, independently from every other edge. https://en.wikipedia.org/wiki/Erd%C5%91s%E2%80%93R%C3%A9nyi_model

        Parameters

        • n: number

          Number of nodes

        • p: number

          Probability of two edges to eb connected

        Returns Promise<Graph>

        A Erdos Reyni graph

Generated using TypeDoc