Skip to content

Apfelbeet/dag-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dag-gen


Generator for random directed acyclic graphs (DAG).

Usage


Option/Flag short Description Mandatory Default
--size -s Number of nodes in the DAG yes -
--iterations -i Number of nodes tree getting merged no 3
--seed Number of nodes tree getting merged no random
--min-forks Minimum number of children a node in a tree must have. no 1
--max-forks Maximum number of children a node in a tree can have. no 4
--front-prop Probability growing at a deeper node. no 0.25

Functionality


The basic idea is to generate multiple trees (--iterations many) with --size number of nodes. We then merge all generated edges of all trees into one graph. The resulting tree will be a DAG.

The remaining arguments control certain behavior when generating the trees.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages