码迷,mamicode.com
首页 >  
搜索关键字:dynamic programming    ( 7737个结果
la----3695 City Game(最大子矩阵)
Bob is a strategy game programming specialist. In his new city building game the gaming environment is as follows: a city is built up by areas, in whi...
分类:其他好文   时间:2014-08-08 23:51:16    阅读次数:315
C++中的typeid和dynamic_cast
C++中的typeid和dynamic_cast...
分类:编程语言   时间:2014-08-08 21:32:16    阅读次数:295
EWD简介
Edsger WybeDijkstra was a principal contributor in the late 1950's to the development of the ALGOL, a high level programming language which has become...
分类:其他好文   时间:2014-08-08 17:58:16    阅读次数:261
006-算法-动态规划法
一、概念:动态规划(Dynamic programming,DP)是一种在数学,科学计算和经济学中使用的,通过把原问题分解成相对简单的子问题的方式求解复杂问题。DP常常适用于有重叠子问题和最优子结构性质的问题,DP所消耗的时间往往小于朴素解法(拿空间换时间)。 动态规划背后色思想很简单那...
分类:其他好文   时间:2014-08-08 15:31:26    阅读次数:181
Spring3.0 AOP 详解
一、什么是 AOP。AOP(Aspect Orient Programming),也就是面向切面编程。可以这样理解,面向对象编程(OOP)是从静态角度考虑程序结构,面向切面编程(AOP)是从动态角度考虑程序运行过程。二、AOP 的作用。常常通过 AOP 来处理一些具有横切性质的系统性服务,如事物管理...
分类:编程语言   时间:2014-08-08 15:19:46    阅读次数:289
hadoop权威指南 chapter2 MapReduce
MapReduce MapReduce is a programming model for data processing. The model is simple, yet not too simple to express useful programs in. Hadoop can run MapReduce programs written in various languages...
分类:其他好文   时间:2014-08-08 12:44:23    阅读次数:231
《Swift Programming Language 》——Swift中怎样使用继承(Inheritance)
一个类能够继承(inherit)还有一个类的方法(methods),属性(property)和其他特性。当一个类继承其他类时,继承类叫子类(subclass),被继承类叫超类(或父类,superclass)。在 Swift 中,继承是区分「类」与其他类型的一个基本特征。在 Swift 中,类能够调用...
分类:其他好文   时间:2014-08-08 12:20:05    阅读次数:342
The Swift Programming Language-官方教程精译Swift(8)闭包 -- Closures
闭包是功能性自包含模块,可以在代码中被传递和使用。 Swift 中的闭包与 C 和 Objective-C中的 blocks 以及其他一些编程语言中的 lambdas 比较相似。闭包可以捕获和存储其所在上下文中任意常量和变量的引用。 这就是所谓的闭合并包裹着这些常量和变量,俗称闭包。Swift会为您...
分类:其他好文   时间:2014-08-08 09:35:55    阅读次数:274
Android学习路线(十二)Activity生命周期——启动一个Activity
Unlike other programming paradigms in which apps are launched with a main()method, the Android system initiates code in an Activity instance by invoking specific callback methods that correspond to specific stages of its lifecycle. There is a sequence of c...
分类:移动开发   时间:2014-08-08 08:28:45    阅读次数:539
【c++】static_cast, dynamic_cast探讨
C++类型转换分为:隐式类型转换和显式类型转换一、隐式类型转换1) 算术转换(Arithmetic conversion) : 在混合类型的算术表达式中, 最宽的数据类型成为目标转换类型。int ival = 3;double dval = 3.14159;ival + dval;//ival被提升...
分类:编程语言   时间:2014-08-07 18:04:40    阅读次数:275
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!