jjmccollum / open-cbgm

Fast, compact, open-source, TEI-compliant C++ implementation of the Coherence-Based Genealogical Method
MIT License
29 stars 1 forks source link

Add connectivity as a command-line parameter for print_textual_flow #6

Closed jjmccollum closed 2 years ago

jjmccollum commented 2 years ago

There is no reason why the textual_flow class needs to derive its connectivity value from XML input or the genealogical cache; users should be able to specify different connectivity limits anytime they invoke the print_textual_flow script. To accommodate default connectivity limits for different units and to ensure backwards compatibility, connectivity values should still be permitted in the input XML, but print_textual_flow should also have an optional -k parameter for setting the connectivity limit at runtime.

Since I'll be working in the textual_flow class for #5, I might as well add this feature while I'm at it.