Class ReuseOracle<S,​I,​O>

    • Constructor Detail

      • ReuseOracle

        public ReuseOracle​(net.automatalib.alphabet.Alphabet<I> alphabet,
                           Supplier<? extends ReuseCapableOracle<S,​I,​O>> oracleSupplier,
                           boolean enabledSystemStateInvalidation,
                           SystemStateHandler<S> systemStateHandler,
                           Set<I> invariantInputs,
                           Set<O> failureOutputs,
                           int maxSystemStates,
                           BoundedDeque.AccessPolicy accessPolicy,
                           BoundedDeque.EvictPolicy evictPolicy)
        Default constructor.
        Parameters:
        alphabet - the input alphabet of the system
        oracleSupplier - a supplier for reusable oracles
        enabledSystemStateInvalidation - a flag whether system states should be invalidated after retrieval
        systemStateHandler - the handler for notification about system state removals
        invariantInputs - the set of symbols that behave invariant
        failureOutputs - the set of symbols of failed system outputs
        maxSystemStates - the maximum number of stored system states
        accessPolicy - the strategy for accessing elements
        evictPolicy - the strategy for evicting elements of the capacity is reached