JefJacobs00 / IoT_Framework_Demo

1 stars 1 forks source link

Multiple session support #17

Closed JefJacobs00 closed 1 year ago

JefJacobs00 commented 1 year ago

Problem

Currently when multiple sessions get executed PROLOG doesn't differentiate between information found in the sessions. This is important because the historic information should be used by next sessions.

Solution

Only see information found in the scans from the current session as valid information. This could be done by checking the scans from the current session and checking if the information comes from a recent scan. To do this issue #15 needs to be solved first. Once the information can have multiple scans a check needs to be done what scans have been executed in this session. To do this the executed/2 predicate can be used to check if the command has been executed in this session or not.

This could lead to performance issues with big ontologies.