You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by GitBox <gi...@apache.org> on 2022/09/06 23:45:02 UTC

[GitHub] [age] JoshInnis opened a new issue, #277: Erdős–Rényi Graph

JoshInnis opened a new issue, #277:
URL: https://github.com/apache/age/issues/277

   The Erdős–Rényi model is a random graph generation model that produces graphs where each edge has a fixed probability of being present or absent, independently of the other edges.
   
   Syntax:
   ```
   ag_catalog.age_create_erdos_renyo_graph(graph_name Name, n int, p float
                                       vertex_label_name Name DEFAULT = NULL,
                                       vertex_properties agtype DEFAULT = NULL,
                                       edge_label_name Name DEAULT = NULL,
                                       edge_properties agtype DEFAULT = NULL,
                                       bidirectional bool DEFAULT = true)
   ```
   
   Input:
   - graph_name - Name of the graph to be created
   - n - The number of nodes
   - p -The probability of each edge existing
   - vertex_label_name - Name of the label to assign each vertex to.
   - vertex_properties - Property values to assign each vertex. Default is NULL
   - edge_label_name - Name of the label to assign each edge to.
   - edge_properties - Property values to assign each edge. Default is NULL
   - bidirectional - Bidirectional True or False. Default True.
   
   https://en.wikipedia.org/wiki/Erd%C5%91s%E2%80%93R%C3%A9nyi_model
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [age] MatheusFarias03 commented on issue #277: Erdős–Rényi Graph

Posted by "MatheusFarias03 (via GitHub)" <gi...@apache.org>.
MatheusFarias03 commented on issue #277:
URL: https://github.com/apache/age/issues/277#issuecomment-1552019361

   Working on this one! 👍 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org