zulu.baseline
Class Automaton

java.lang.Object
  extended by zulu.baseline.Automaton

public class Automaton
extends java.lang.Object

A class, dedicated to the implementation of the Lstar algorithm, that produces an automaton from an observation table.


Constructor Summary
Automaton(java.lang.String alph, java.util.Hashtable<java.lang.String,java.lang.Boolean> prefixes, java.util.Hashtable<java.lang.String,java.lang.Boolean> suffixes, java.util.Hashtable<java.lang.String,java.lang.Boolean> words)
          Creates an automata from an observation table (Lstar)
Automaton(java.lang.String alphabet, int[] finalStates)
          Creates an empty automata
 
Method Summary
 int depth()
          Automaton depth
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Automaton

public Automaton(java.lang.String alphabet,
                 int[] finalStates)
Creates an empty automata

Parameters:
alphabet -
finalStates -

Automaton

public Automaton(java.lang.String alph,
                 java.util.Hashtable<java.lang.String,java.lang.Boolean> prefixes,
                 java.util.Hashtable<java.lang.String,java.lang.Boolean> suffixes,
                 java.util.Hashtable<java.lang.String,java.lang.Boolean> words)
Creates an automata from an observation table (Lstar)

Parameters:
alph - The alphabet
prefixes - The prefixes table
suffixes - The suffixes table
words - The words table
Method Detail

depth

public int depth()
Automaton depth

Returns:
the automaton depth