Skip to content

Question on adding prolog rules dynamically #209

Open
@sreeramvenkat

Description

@sreeramvenkat

Hi,

I would like to use projog for my java application by importing it as a library. Some of the rules will be implemented in java using AbstractSingleResultPredicate.

Is it possible to add such rules (i.e., those implemented in Java) dynamically during the execution of the java program ?

The example program SingleResultPredicateExample.java shows an implementation where such rules can be added from prolog console. But I am not sure the rules can be added dynamically from Java.

Can you please tell me if this is possible ? Thanks for your time.

Best regards,
Sreeram

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions