Jason小小日記

Jason小小日記

紀錄生活中無聊事

  • Home
  • Archives
  • About
  • Useful Website

Anorm用法

什麼是Anrom用作寫SQL,但免去JDBC 麻煩的煩惱,典型的JDBC需要create statement/PreparedStatement 師很多try catch,Anorm還簡化了煩人的resultset looping 以及如何將resultset的內容提取 From

2016-01-26

Play framework 表格提交

環境設定 PlayFramework: v2.4.6 scala : 2.11.6 先import 以下123import play.api.data._import play.api.data.Forms._import play.api.data.format.Format

2016-01-21

import(匯入) in scala

Import(匯入) 在scala有很多方法 最常用import jason.playground._匯入jason.playground package 底下的所有classes and object, 包括package object(package object 的所有me

2016-01-20

初試Scala

感想很複雜的語言……很多feature(果然是教授的產物) 除了method 外可以自動估算data typeval r = 1Object 像一Java 的static method, 不用new object 便可以使用最後一句預設是回傳值很多method 沒有side ef

2016-01-11

Maximum Flow

Residual NetworkA “fake” network constructed from real network considering the flow in two ways, remaining flow capacity, and current flow c

2015-12-13

Dynamic Programming

Definition of Dynamic ProgrammingCopy from wikipediadynamic programming is a method for solving a complex problem by breaking it down into a

2015-12-13

Divide and Conquer

Defintion of Divide and ConquerDivide the problem into smaller problem, use the result of the small problems to form the result of the bigge

2015-12-13

Shortest Path Algorithm

RelaxationEach point has a known distance so far, if a vertex + distance to a particular point is shorter than the known distance of the poi

2015-12-13

Minimum spanning tree

DefinitionMinimum spanning tree is defined as given graph(G) which a set of vertexes and edges with weights. Find a path which connects all

2015-12-13

Greedy algorithm

Greedy algorithm is a common method in designing algorithm. It is more like a heuristic method instead of a algorithm. Every time multiple c

2015-12-09
« Prev12345Next »

分類

  • Algorithm8
  • Daily Life1
  • Episode1
  • Migrate From Xanga16
  • Note12
  • Problem8

標簽

  • Code3
  • Compiler Principle1
  • Dynamic Programming3
  • Elementary1
  • Formal Language2
  • Git1
  • Graph Theory3
  • Greedy3
  • Gundam1
  • Haskell4
  • Hexo5
  • JSON1
  • Javascript1
  • Nightmare1
  • Pacman1
  • Play3
  • Programming2
  • Programming Principle2
  • Ruby1
  • SQL1

Powered by hexo and Theme by Pacman, modified by Jason © 2016 Jason Liu