Re: Help with lists.



Bart Demoen <bmd@xxxxxxxxxxxxxxxxx> writes:

> Unless I overlooked something, all solutions that were posted were (at
> least) quadratic in the length of the inputlist.

As noted in my comments.

> Here is a solution (works under SWI) that is potentially NlogN - but it
> is up to you to discover what it takes ...

Right, but I doubt that this could help anybody take the step from
C and Java to Prolog...
.



Relevant Pages

  • Re: Networking in Prolog - a survey
    ... I coded it in Java ... kindly asked if it was possible to extend the interpreter with various ... the state of the art in Prolog networking libraries to see if I could ...
    (comp.lang.prolog)
  • Re: Recommendations for a free Prolog interpreter in Java
    ... >> What is the advantage of using Prolog in a Java environment? ... > Prolog in Java is good for the present Internet / distributed ... >> code running on server. ...
    (comp.lang.prolog)
  • Re: Prolog in a Java Tomcat environnement
    ... >> I'm now upgrading to the latest stable version of swi because in mine ... to be carefull with install stuff and file naming, ... > What Java SDK do you use? ... > Run the JPL examples (Java and Prolog) to verify that your ...
    (comp.lang.prolog)
  • Re: In which cases/problems is Prolog faster than Java?
    ... We've OOP languages built from functional languages foundations ... they are envy of imperative programming styles. ... still a predicate either in plain Prolog or encapsulated in a Prolog ... People often use Java not because its OO features per se but because ...
    (comp.lang.prolog)
  • Re: Recommendations for a free Prolog interpreter in Java
    ... Paul Singleton wrote: ... >> one these types of Prolog systems that work completely in Java. ... code running on server. ...
    (comp.lang.prolog)