Skip to content

Obtaining incremental inferences #17

Open
@daniel86

Description

@daniel86

Hello again,

I would like to use pyfactxx in an incremental fashion where initially I load some files, and during runtime mainly object and data roles are asserted and retracted.
I am now wondering about whether there is a smart way to obtain a list of all new inferences after calling classify/realize, and also which previous inferences were removed.
This information could be obtained be keeping the list of previous inferences in my code, but that seems not optimal.

Is there some way I am not aware of? Maybe to hook an event handler into the reasoner that gets a call for every change?

Best,
Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions