Class BasicDeductiveReasoner

  • All Implemented Interfaces:
    IReasoner

    public class BasicDeductiveReasoner
    extends Reasoner
    Basic reasoner class. Proof of concept, not optimized for efficiency. TODO [medium] move storage to EventDatabase. Reasoner has logic, EventDatabase has memory.
    Author:
    B.F.A. Hompes
    • Constructor Detail

      • BasicDeductiveReasoner

        public BasicDeductiveReasoner()
    • Method Detail

      • createMappings

        public void createMappings​(org.deckfour.xes.model.XLog xlog,
                                   ServiceLevelAgreementsParameters parameters)
        Creates mappings of original Strings to Strings suitable for the RTEC implementation.
      • handleAgreement

        public void handleAgreement​(ServiceLevelAgreement sla)
        Handles the agreement by building / expanding the index.
      • handleEvent

        public void handleEvent​(org.deckfour.xes.model.XEvent xevent)
        Handles the event by looking up it's affected SLAs in the index.