Re: Longest Common Subsequence in Postgres - Algorithm Challenge
В списке pgsql-general по дате отправления:
| От | hubert depesz lubaczewski |
|---|---|
| Тема | Re: Longest Common Subsequence in Postgres - Algorithm Challenge |
| Дата | |
| Msg-id | 20130708144518.GA13082@depesz.com обсуждение исходный текст |
| Ответ на | Longest Common Subsequence in Postgres - Algorithm Challenge (Robert James <srobertjames@gmail.com>) |
| Ответы |
Re: Longest Common Subsequence in Postgres - Algorithm Challenge
|
| Список | pgsql-general |
On Mon, Jul 08, 2013 at 09:09:26AM -0400, Robert James wrote: > I have two relations, where each relation has two fields, one > indicating a name and one indicating a position. That is, each > relation defines a sequence. > > I need to determine their longest common subsequence. Yes, I can do > this by fetching all the data into Java (or any other language) and > computing it using the standard LCS dynamic programming language. But > I'd like to stay within Postgres. Is there any way to do this? I'm not entirely sure I understand. Can you show us some sample data and expected output? Best regards, depesz
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера