Giter Site home page Giter Site logo

Comments (5)

cmeilicke avatar cmeilicke commented on July 29, 2024

To clarify: The problems appear when usin aleph.pl. The problems do not show up (as far as I can see) when using aleph_orig.pl. This solves the concrete problem for me.

from aleph.

friguzzi avatar friguzzi commented on July 29, 2024

Yes, it's a problem with porting, can you send me your input file?

from aleph.

cmeilicke avatar cmeilicke commented on July 29, 2024

As I said, I'm happy now that it runs nicely with aleph.pl. However, since you might like to fix this in your port, here are the details:

I use the attached file:

cocktail2.txt

Since i could not upload a *.pl file, i renamed the file extension to *.txt. You have to rename it back to cocktail2.pl

I run it like this:

E:\_temp\aleph-master\prolog>swipl
Welcome to SWI-Prolog (threaded, 64 bits, version 8.0.3)
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software.
Please run ?- license. for legal details.

For online help and background, visit http://www.swi-prolog.org
For built-in help, use ?- help(Topic). or ?- apropos(Word).

1 ?- [cocktail2].
true.

2 ?- induce().
[select example] [1]
[sat] [1]
[poison(c3)]

[bottom clause]
poison(A) :-
   has(A,B), has(A,C), has(A,D), has(A,E),
   lem(E), lem(B), umb(D), str(C),
   first(B), last(E), suc(D,E), suc(C,D),
   suc(B,C).
[literals] [14]
[saturation time] [0.0]
[error] [set(refineop,rls)]
Warning: Undefined procedure: aleph:estimate_numbers/1
Warning:   However, there are definitions for:
Warning:         aleph:estimate_numbers/2
Warning:         aleph:estimate_number/4
Warning:         aleph:estimate_number/5
Warning:         aleph:estimate_numbers/5
Warning:         aleph:estimate_number/6
Warning:         aleph:estimate_numbers/6
[select example] [1]
[sat] [1]
[poison(c3)]

[bottom clause]
poison(A) :-
   has(A,B), has(A,C), has(A,D), has(A,E),
   lem(E), lem(B), umb(D), str(C),
   first(B), last(E), suc(D,E), suc(C,D),
   suc(B,C).
[literals] [14]
[saturation time] [0.015625]
[error] [set(refineop,rls)]
Warning: Undefined procedure: aleph:estimate_numbers/1
Warning:   However, there are definitions for:
Warning:         aleph:estimate_numbers/2
Warning:         aleph:estimate_number/4
Warning:         aleph:estimate_number/5
Warning:         aleph:estimate_numbers/5
Warning:         aleph:estimate_number/6
Warning:         aleph:estimate_numbers/6
[select example] [1]
[sat] [1]
[poison(c3)]
...

from aleph.

friguzzi avatar friguzzi commented on July 29, 2024

Should be fixed in the latest commit, 208adfa
can you check?

from aleph.

cmeilicke avatar cmeilicke commented on July 29, 2024

Hi,

Thanks a lot for fixing this so quickly, yes, I checked, now it works nicely.

Regards. Christian.

from aleph.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.