http://thedeemon.livejournal.com/ ([identity profile] thedeemon.livejournal.com) wrote in [personal profile] thedeemon 2009-10-14 12:43 pm (UTC)

Кстати, про дизайн и SRP. То, что вершины могут быть однажды посещены, - это детали алгоритма поиска, а не имманентное свойство вершин любого графа. Поэтому setVisited у вершин это удобно, но с т.з. архитектуры не очень красиво.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting