Talk:Dinesman's multiple-dwelling problem: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Why stated like that?: Wot! No example solution?)
(→‎Why stated like that?: clarify? (the fastest clarification request ever))
Line 3: Line 3:


This is one of the few tasks that I have set where I don't have a canned answer in Python before setting the task. Well, not really; Pythons solution in [[Amb#Python]] is easilly adapted. --[[User:Paddy3118|Paddy3118]] 08:42, 25 June 2011 (UTC)
This is one of the few tasks that I have set where I don't have a canned answer in Python before setting the task. Well, not really; Pythons solution in [[Amb#Python]] is easilly adapted. --[[User:Paddy3118|Paddy3118]] 08:42, 25 June 2011 (UTC)

: Heh there's no way to reliably parse English text, unless the text is restricted to be following some syntax rules. The question is rather, are you more interested in seeing how people provide methods for flexible input, or how people solve the dwelling problem? Which is the emphasis of this task? --[[User:Ledrug|Ledrug]] 08:46, 25 June 2011 (UTC)

Revision as of 08:46, 25 June 2011

Why stated like that?

Remember those maths essay problems from school? Remember your teacher saying "It's not just getting the right answer that is important - it's how you got to it that gets the full marks"? Well this, I hope, is that kind of problem.
The idea is for examples to be able to vary names, numbers, constraints; and for the example's problem statement and answers to be easy to recognise from the task's problem description (or variants of).
If someone wants to implement natural language processing, be my guest. If someone wants to use a syntax more familiar to constraint programmers then that can be done too, (but think of the likely audience). --Paddy3118 08:37, 25 June 2011 (UTC)

This is one of the few tasks that I have set where I don't have a canned answer in Python before setting the task. Well, not really; Pythons solution in Amb#Python is easilly adapted. --Paddy3118 08:42, 25 June 2011 (UTC)

Heh there's no way to reliably parse English text, unless the text is restricted to be following some syntax rules. The question is rather, are you more interested in seeing how people provide methods for flexible input, or how people solve the dwelling problem? Which is the emphasis of this task? --Ledrug 08:46, 25 June 2011 (UTC)