这是加权中位数 5 点算法的 golang 实现。
算法详解可参考 Bernhard Korte, Jens Vygen, Combinatorial Optimization - Theory and Algorithms, Fourth Edition. (2008) 第 17.1 节。调用文档可参见 doc/median.pdf
编译及测试运行算例: go build go test
这是加权中位数 5 点算法的 golang 实现。
算法详解可参考 Bernhard Korte, Jens Vygen, Combinatorial Optimization - Theory and Algorithms, Fourth Edition. (2008) 第 17.1 节。调用文档可参见 doc/median.pdf
编译及测试运行算例: go build go test
评论