nico.ash + algorithms   43

Bartholdi on spacefilling curves
Using space filling curves as a heuristic for shortest path algorithms
algorithm  algorithms  curve  mathematics  travelingsalesman 
february 2011 by nico.ash
Bill Katz
Simple Full Text Search for App Engine

Revised 2009-07-12 to include addition of stemming, multi-word exact matching, multiple search entities, and stowing of designated parent titles in index entity keys.
algorithms  appengine  article  code  cs  datastore  development  django  engine  foss  library  googleappengine  google  gae  fulltext  search  model  programming  text  web  python  resource  indexing  google_app_engine  searchablemodel 
november 2010 by nico.ash
Damn Cool Algorithms: Levenshtein Automata - Nick's Blog
The basic insight behind Levenshtein automata is that it's possible to construct a Finite state automaton that recognizes exactly the set of strings within a given Levenshtein distance of a target word. We can then feed in any word, and the automaton will accept or reject it based on whether the Levenshtein distance to the target word is at most the distance specified when we constructed the automaton. Further, due to the nature of FSAs, it will do so in O(n) time with the length of the string being tested. Compare this to the standard Dynamic Programming Levenshtein algorithm, which takes O(mn) time, where m and n are the lengths of the two input words! It's thus immediately apparrent that Levenshtein automaton provide, at a minimum, a faster way for us to check many words against a single target word and maximum distance - not a bad improvement to start with!
algorithms  algorithm  search  python  levenshtein  distance  toread  programming  article  fuzzy  automata 
july 2010 by nico.ash
TypeSet
TeX line breaking algorithm in JavaScript
javascript  typography  tex  typesetting  algorithm  canvas  latex  algorithms 
march 2010 by nico.ash
SciPy – the embarrassing way to code
The downside to all this is that you send months developing your complex algorithms and when you’re done you show somebody the result of all your efforts — a page or two of code. It looks like something that somebody could have written in an afternoon. Even worse, you start to suspect that if you had really known scipy and spent a few days carefully thinking about the problem to start with, then you probably could have coded it in an afternoon. It’s a little embarrassing.
python  programming  algorithms  code  scipy  scientific  language  science  math  computer  matrix 
november 2009 by nico.ash
Peter Norvig
the homepage of peter Norvig, with many links to software design articles and software examples in python and lisp. He now works at google as a director of research.
advice  ai  algorithms  article  blog  computer  code  python  lisp  google  programming  norvig 
july 2008 by nico.ash

related tags

3d  advice  ai  airlines  algorithm  algorithms  analysis  animation  appengine  art  article  audio  automata  awesome  biology  blog  book  book-or-author-to-read  books  brain  c  canvas  career  clojure  code  comparison  compression  compsci  computer  computerscience  computing  cool  cs  curve  data  data-structures  database  datamining  datastore  datastructures  deflate  demo  demoscene  development  distance  django  dsp  ebook  education  email  engine  fermilab  fft  floating  floating-point  foss  fourier  free-ebook  fulltext  fun  functional  fuzzy  gae  game  gamedev  gameoflife  games  gaming  geek  genetic  geneticalgorithm  geometry  google  googleappengine  google_app_engine  graph  graphics  gzip  hashlife  history  howto  huffman  ideas  ikea  image  images  index  indexing  infographics  intelligence  interesting  interview  interviewing  ios  ir  java  javascript  jobs  jwz  labyrinth  language  latex  layout  learning  levenshtein  library  life  lisp  mail  math  mathematics  matrix  maze  message  metafilter  model  music  nature  network  networks  norvig  ocaml  opensource  optimization  optimize  performance  perl  philosophy  physics  pixar  plane  procedural  processing  programming  puzzle  python  reference  research  resource  retro  rsync  ruby  sc2  scene  science  scientific  scipy  search  searchablemodel  simulation  software  sorting  sound  sourcecode  starcraft  starcraft2  sudoku  technology  tex  text  theory  threading  tips  toread  toys  transform  travel  travelingsalesman  tsp  tutorial  typesetting  typography  visualization  warez  web 

Copy this bookmark:



description:


tags: