de.ls5.jlearn.interfaces
Interface Oracle

All Superinterfaces:
Serializable
All Known Subinterfaces:
AsyncOracle, BatchOracle, Cache
All Known Implementing Classes:
AbstractBatchOracle, AsyncOracleImpl, CacheOracle, FileCacheOracle, LengthSortBatchOracle, MultithreadBatchOracle, PooledOracle, PrefixClosureFilter, PrefixEnforcementFilter, PrefixFirstBatchOracle, SequentialBatchOracle, SimulatorOracle, SimulatorOracleDFA

public interface Oracle
extends Serializable

This interface encapsulates access to the SUT (System Under Test). System adapter or e.g. query filters should implement this interface. It is REQUIRED that implementations are thread-safe!

Author:
merten

Method Summary
 Word processQuery(Word trace)
          Process an incoming sequence (word) of input symbols and return a sequence (word) of output symbols produced as reacion to the input symbols.
 

Method Detail

processQuery

Word processQuery(Word trace)
                  throws LearningException
Process an incoming sequence (word) of input symbols and return a sequence (word) of output symbols produced as reacion to the input symbols.

Parameters:
trace - Word object respresenting the query the system is supposed to process
Returns:
Word object with the system's response to the provide query
Throws:
LearningException


Copyright © 2011. All Rights Reserved.