adamsardar / stoneTrees

Integrating 'omics data with biological networks by solving Steiner Tree problems
Mozilla Public License 2.0
3 stars 3 forks source link

Allow for reproducible steiner forest sampling #20

Closed adamsardar closed 3 years ago

adamsardar commented 4 years ago

Different solvers affect the program state in irregular ways.

Inside the $resampleFixedTerminals(...) routine make use of a seed pool; when the object is constructed, produce a seed. Then, each time the seed state is requested ask add a new value on to the pool.