aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations/slink.py
AgeCommit message (Expand)Author
2021-08-04Fix issues caught by pylintMuriithi Frederick Muriuki
2021-07-29Add partial type annotations for slink moduleMuriithi Frederick Muriuki
2021-07-26Fix issues caught by pylintMuriithi Frederick Muriuki
2021-07-23Add data examples for `slink`. Implement function.Muriithi Frederick Muriuki
2021-07-23Iterate through all valid pairsMuriithi Frederick Muriuki
2021-07-23Extract function to flatten list of listsMuriithi Frederick Muriuki
2021-07-23Fix issue caught in `nearest` while testing `slink`Muriithi Frederick Muriuki
2021-07-23New function (`slink`): return [] on exceptionMuriithi Frederick Muriuki
2021-07-23Add dummy module documentationMuriithi Frederick Muriuki
2021-07-23Add docstring for `nearest' functionMuriithi Frederick Muriuki
2021-07-22Get shortest distance from two lists/tuples of member coordinatesMuriithi Frederick Muriuki
2021-07-22Extract common `is_list_or_tuple' functionMuriithi Frederick Muriuki
2021-07-22Test for shortest distance between members in a list and coordinateMuriithi Frederick Muriuki
2021-07-22Check that given list and both coordinates, we get shortest distanceMuriithi Frederick Muriuki
2021-07-22Check that all distances are positive or zeroMuriithi Frederick Muriuki
2021-07-22Check that distance from A to B is same as from B to AMuriithi Frederick Muriuki
2021-07-22Check that child distance from itself is zeroMuriithi Frederick Muriuki
2021-07-22Check the child lengths are same as length of parentMuriithi Frederick Muriuki
2021-07-22Add docstringMuriithi Frederick Muriuki
2021-07-22Check that list and its direct children are not emptyMuriithi Frederick Muriuki
2021-07-22Implement check for lists or tuplesMuriithi Frederick Muriuki
2021-07-21Extract tests from code in GN1Muriithi Frederick Muriuki