de.ls5.jlearn.batchoracles
Class AbstractBatchOracle

java.lang.Object
  extended by de.ls5.jlearn.batchoracles.AbstractBatchOracle
All Implemented Interfaces:
BatchOracle, Oracle, Serializable
Direct Known Subclasses:
LengthSortBatchOracle, MultithreadBatchOracle, PrefixFirstBatchOracle

public abstract class AbstractBatchOracle
extends Object
implements BatchOracle

Author:
merten
See Also:
Serialized Form

Constructor Summary
AbstractBatchOracle()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.ls5.jlearn.interfaces.BatchOracle
processQueries
 

Constructor Detail

AbstractBatchOracle

public AbstractBatchOracle()
Method Detail

processQuery

public Word processQuery(Word trace)
                  throws LearningException
Description copied from interface: Oracle
Process an incoming sequence (word) of input symbols and return a sequence (word) of output symbols produced as reacion to the input symbols.

Specified by:
processQuery in interface Oracle
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.