de.ls5.jlearn.oracles
Class SimulatorOracle

java.lang.Object
  extended by de.ls5.jlearn.oracles.SimulatorOracle
All Implemented Interfaces:
Oracle, Serializable

public class SimulatorOracle
extends Object
implements Oracle, Serializable

Author:
fh
See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
SimulatorOracle(Automaton model)
           
 
Method Summary
 Alphabet getAlphabet()
           
 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
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

SimulatorOracle

public SimulatorOracle(Automaton model)
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

getAlphabet

public Alphabet getAlphabet()


Copyright © 2011. All Rights Reserved.