genesis icon indicating copy to clipboard operation
genesis copied to clipboard

Bipartition Utils

Open daviddao opened this issue 10 years ago • 2 comments

Bipartitions are very important representations to analyse tree topologies. Maybe we can create a Bipartition Utils containing

  • extraction algorithms
  • efficient bipartition representations (Sparse BitVector Format or a Compressed BitVector Format)
  • distance functions

daviddao avatar Apr 29 '15 15:04 daviddao

There is a very small Bipartition class in ./lib/tree/, which can extract Bipartitions so far. In the future, we should build in your ideas, I agree.

lczech avatar Apr 30 '15 09:04 lczech

As for the different ways of representing bit-information (naive, sparse, compressed, ...), a software engineer way would be to write an interface class and derive the implementations from that. This way, you can plug in whatever you need.

lczech avatar May 04 '15 12:05 lczech