amnh / PCG

𝙋𝙝𝙮𝙡𝙤𝙜𝙚𝙣𝙚𝙩𝙞𝙘 𝘾𝙤𝙢𝙥𝙤𝙣𝙚𝙣𝙩 𝙂𝙧𝙖𝙥𝙝 ⸺ Haskell program and libraries for general phylogenetic graph search
28 stars 1 forks source link

Don't always perform a Wagner build before a network build #95

Closed recursion-ninja closed 5 years ago

recursion-ninja commented 5 years ago

If we specify a network build, build a network by adding edges to the given topology.

If we specify a Wagner (tree) build, build a tree by tossing the topology and starting over.

recursion-ninja commented 5 years ago

I have updated the build command to use the input graph, not a new Wagner build, as the base object to add edges to when performing a network build. For the old functionality of performing a Wagner build then a network build, simple invoke the following two commands:

build(tree)
build(network)