laser.regularlanguage.fsa.util
Class FSAPair<L extends LabelInterface>

java.lang.Object
  extended by laser.regularlanguage.fsa.util.FSAPair<L>

public class FSAPair<L extends LabelInterface>
extends java.lang.Object

The FSAPair class represents an ordered pair of FSAs.

Author:
Heather M. Conboy (laser-software@cs.umass.edu) The type of labels used by the FSAs

Constructor Summary
FSAPair(FSAInterface<L> fsa1, FSAInterface<L> fsa2)
          Creates a new FSAPair with the given FSAs.
 
Method Summary
protected  FSAInterface<L> getFSA1()
          Gets the first FSA.
protected  FSAInterface<L> getFSA2()
          Gets the second FSA.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FSAPair

public FSAPair(FSAInterface<L> fsa1,
               FSAInterface<L> fsa2)
Creates a new FSAPair with the given FSAs.

Parameters:
fsa1 - The first FSA (non-null)
fsa2 - The second FSA (non-null)
Method Detail

getFSA1

protected FSAInterface<L> getFSA1()
Gets the first FSA.

Returns:
The first FSA

getFSA2

protected FSAInterface<L> getFSA2()
Gets the second FSA.

Returns:
The second FSA