F r a nk - Wo lfe ( F W) 算法是一类广泛应用于求解交通分配问题的算法. 它具有容 易编程实现, 所需内存少的特点. 但是该算法收敛速度较慢, 不能得到路径信息. 为了 提高算法的效率, 本文研究三种流量更新策略( al - l a - t o n c e , one -or ig in - a - t a - ti me , one -OD a - t a - ti me) 以及不同的步长搜索策略下的 F W 算法, 其中步长搜索策略包括精确线性搜 索方法( 包括二分法
structslop
包structslop定义了一个,该检查可重新排列结构的字段以获取最佳结构大小。
安装
使用Go模块:
go get github.com/orijtech/structslop/cmd/structslop
如果没有Go模块:
$ cd $GOPATH /src/github.com/orijtech/structslop
$ git checkout v0.0.6
$ go get
$ install ./cmd/structslop
用法
您可以在Go包或Go