Apr. 21st, 2004

alexr_rwx: (mighty penguin)
- So my thing works. You know, the thing I've been working on for Ashok's class. It's all like "here, lemme learn a graph based on cases of searches that were done on it, and lemme constrain the search space by using a quadtree, and lemme cache my search results but fix everything up when there are edges taken out..." ... it's basically like a very small-scale mapquest, over Tech's campus.

- I've been up since, uh... some point or another yesterday afternoon... but then before that, I was up... for some period of time... but I took a nap somewhere in there...

- LISP is still the most beautiful thing that happened, ever. I mean... look...
;; true if the quadtree contains the node of the specified name
(defun quadtree-contains (quad name)
  (cond
   ((not (quadtree-p quad)) nil)
   ((and (null (quadtree-graphnodes quad))
	 (null (quadtree-children quad))) nil)
   ((quadtree-graphnodes quad)
    (member name
	    (mapcar #'graphnode-name (quadtree-graphnodes quad))
	    :test #'equal))
   (t ((lambda(things) (loop for thing in things thereis thing))
       (mapcar #'(lambda(x)
			 (quadtree-contains x name))
		     (quadtree-children quad))))))


- Over the past... period of time... I went running with Chris V., who ran really fast because he's all pumped up because he's all set with the job he wanted at Cisco, and Corey and I visited Chinese Buddha, which is open late Tuesday night, and Amy [livejournal.com profile] yxesyma and I tried to go to the Chinese Buddha, but it was closed because it was a Monday night, so we went to R. Thomas instead, which was open because it's always open.

- Now I should do the writeup for the project.

Profile

alexr_rwx: (Default)
Alex R

May 2022

S M T W T F S
1234 567
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 12th, 2025 02:45 pm
Powered by Dreamwidth Studios