Repository navigation
flownet version 0.2.0
-
Fixed bug in run_assignment with
return.extra = "edges"where edge indices were incorrectly returned. Due to zero indexing in C vs. 1-indexing in R they where offset by one, thus, in flownet versions <= 0.1.2, the correct edge indices can be retained by subtracting 1 from them. -
Improved Step 7 (elimination of path with duplicate edges) in the route enumeration algorithm to properly handle directed paths, i.e., candidate paths where an intermediate node is approached via an edge and departed from via the same edge but in a different direction, are now also removed.
-
Added option
return.extra = "PSF"which adds"path_size_factors"to the results object. This should be useful to calibrate the PSL model. -
Added option
return.extra = "eweights"which adds"egde_weights"to the results object. Edge weights are the sum of the path probabilities across all paths using that edge. These weights are computed efficiently at C-level, with minimal overhead, if requested. -
Added verbosity to
simplify_network()(defaultverbose = TRUE). -
Reordered elements in results object (class 'flownet') in a natural way: providing first the final flows, followed by path and edge-level additional results if requested through
return.extra. -
Added more unit tests covering
return.extraoptions. -
Added variable labels to included
africa_*datasets - trycollapse::namlab()on them. -
Small improvements to recursive logic in
consolidate_graph(). -
Bumped kit dependency to 0.0.21 (for
fpmin()andfpmax()).