Search found 3 matches

by filete
Wed Jul 14, 2010 6:35 am
Forum: Common Lisp
Topic: dolist in a circular list
Replies: 8
Views: 11591

Re: dolist in a circular list

I've thought about this approach but, since not every line is circular, and therefore head and tale are not subsequent on those that are lineal. That imples that I would have to mark those who are, and then avoid the usage of negative indexes on those that aren't. Rather than doing this, I'm wonderi...
by filete
Wed Jul 14, 2010 4:44 am
Forum: Common Lisp
Topic: dolist in a circular list
Replies: 8
Views: 11591

Re: dolist in a circular list

I'm trying to represent this map. Where there are a couple of circular lines. I want to find both preceding and next station from a given one. http://wgdw.minuskel.de/wp-content/uploads/2009/07/Karte_sbahn_berlin_01.png So thankful for the links. I'm supposed to be teached at university, but the jus...
by filete
Wed Jul 14, 2010 2:55 am
Forum: Common Lisp
Topic: dolist in a circular list
Replies: 8
Views: 11591

dolist in a circular list

I'm programming a lisp app that searches the shortest path between two train stations in Berlin. (defstruct station name) (defstruct line name stations) (defstruct karte linien) (defstruct point station line) (defstruct route points) Stations (setq Oranienburg (make-station :name "Oranienburg&q...