Dinesman's multiple-dwelling problem: Difference between revisions

Content added Content deleted
m (→‎{{header|Phix}}: added syntax colouring, marked p2js compatible)
m (→‎{{header|C sharp}}: Regularize header markup to recommended on category page)
Line 986: Line 986:
}</lang>
}</lang>


=={{header|C sharp}}==
=={{header|C sharp|C#}}==
===Constraints as functions solution===
===Constraints as functions solution===
Usage of the DinesmanSolver is very simple. Just feed it a bunch of constraints in the form of functions. (It could also be one function with a bunch of 'and' clauses)<br/>
Usage of the DinesmanSolver is very simple. Just feed it a bunch of constraints in the form of functions. (It could also be one function with a bunch of 'and' clauses)<br/>