"Generator classes are defined in the object oriented programming language Java
by using continuation-style programming. Generator objects are used to write
Prolog-like programs in Java to solve combinatorial constraint satisfaction
problems."
Examples include the N-Queens problem
and some useful web search functions:
"GenURLsFromURL generates the URLs found in the page specified by a given URL, and
GenURLcontainsString succeeds if a page contains a given string and fails otherwise."
This paper adds Java to the several other LTU postings on generators:
[1,
2,
3]
(Generator and Search Objects in Java,
Lloyd Allison, 2000)
Posted to functional by jon fernquest on 9/29/02; 4:09:43 AM
|
|