Interface IReasonerRegistry

  • All Known Implementing Classes:
    ReasonerRegistry

    public interface IReasonerRegistry
    Public interface for this reasoner registry capable of handling multiple reasoners.
    Author:
    El-Sharkawy
    • Method Detail

      • register

        void register​(IReasoner reasoner)
        Adds a new Reasoner to the registry.
        Parameters:
        reasoner - The Reasoner which should be added to the registry.
      • unregister

        void unregister​(IReasoner reasoner)
        Removes the specified reasoner from the registry, if the reasoner was added before.
        Parameters:
        reasoner - The reasoner which should be removed from the registry.
      • notifyAllReasoners

        void notifyAllReasoners​(IReasoner source,
                                IReasonerMessage.IType type)
        Notifies all reasoners about a given event.
        Parameters:
        source - the reasoner causing the event
        type - the type of the event