码迷,mamicode.com
首页 >  
搜索关键字:cost effective    ( 3640个结果
OTDOA
OTDOA 1. 画图观察 参考小区:黑点 其他小区:绿点 终端位置:红点 无误差模型双曲线:蓝线 测量粒度导致的误差:橘黄 2. 度量粒度导致的误差 即小区能准确测量TA,但是TA的刻度就是16ts(对应单程距离4.88*16),所以就出现由度量刻度导致的误差。 上图中橘黄色曲线交点。 3. 测量 ...
分类:其他好文   时间:2019-01-26 16:19:45    阅读次数:557
Effective Python 中文版
如题,博主正在翻译一本Python相关的书。 图为Python作者。 [美]Brett Slatkin的名作。 Effective Python: 59 Specific Ways to Write Better Python. 翻译版本试读链接,https://www.gitbook.com/bo ...
分类:编程语言   时间:2019-01-26 15:27:34    阅读次数:280
java构建器
最近在看“Effective Java 中文第二版”,看到了构建器这个知识,感觉很不错,比挨个调用setter方法看起来简便多了,代码如下: 1 public class User { 2 3 private String name; 4 private int age; 5 private Str ...
分类:编程语言   时间:2019-01-24 20:43:50    阅读次数:211
甲级1008 Elevator
1008 Elevator (20 分) The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at ...
分类:其他好文   时间:2019-01-24 15:37:21    阅读次数:144
springboot跑定时任务
使用@Scheduled注解实现 1、在启动类上加上@EnableScheduling 开启定时任务 2、新建一个任务类,在方法上添加@Scheduled注解 一个cron表达式有多个 按顺序依次为 秒(0~59) 分钟(0~59) 小时(0~23) 天(月)(0~31,但是你需要考虑你月的天数) ...
分类:编程语言   时间:2019-01-24 14:34:44    阅读次数:204
Effective Java P2 Item1 Consider static factory methods instead of constructors
获得一个类的实例的传统方法是公共的构造方法,还可以提供一个公共的静态工厂方法(一个返回值为该类实例的简单静态方法), 例如Boolean(boolean 的封装类) public static Boolean valueOf(boolean b) { return b ? Boolean.TRUE ...
分类:编程语言   时间:2019-01-21 23:22:47    阅读次数:214
Effective Java P2 Creating and Destroying Objects
This chapter concerns creating and destorying objects : when and how to create them, when and how to avoid creating them, how to ensure they are desto ...
分类:编程语言   时间:2019-01-21 19:33:55    阅读次数:183
1030 Travel Plan (DFS)
1030 Travel Plan (30 分) A traveler's map gives the distances between cities along the highways, together with the cost of each highway. Now you are su ...
分类:其他好文   时间:2019-01-21 16:10:29    阅读次数:163
P3381 最小费用最大流
首先用spfa找一条最短路当然这个最短路是按照边的费用算的,在找的过程中,如果这条边的流量已经为0,就一定要放弃这个到达的点,也就是不仅判断dis,也要判断流量·。 其次,从这条路的结束点(汇点)往它的前驱回溯,找到这个路径上最小的流,每一个流都减去这个最小的流,总流量加上这个最小的流。 每一个边, ...
分类:其他好文   时间:2019-01-20 15:56:12    阅读次数:196
最短路(判负环
void Add(int u,double cost,int v)//邻接表存储关系 { w[top] = cost; Key[top] = v; next[top] = head[u]; head[u] = top++; } bool SPFA(int x) { memset(vis,false, ...
分类:其他好文   时间:2019-01-20 15:09:05    阅读次数:219
3640条   上一页 1 ... 49 50 51 52 53 ... 364 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!