edu.buffalo.nsf.xmlcqa.graph
Class RestaurationAutomaton

java.lang.Object
  extended byedu.buffalo.nsf.xmlcqa.graph.RestaurationAutomaton
All Implemented Interfaces:
Constants

public class RestaurationAutomaton
extends java.lang.Object
implements Constants

Author:
staworko

Field Summary
 
Fields inherited from interface edu.buffalo.nsf.xmlcqa.Constants
INF
 
Constructor Summary
RestaurationAutomaton()
           
 
Method Summary
protected static int add(int a, int b)
           
protected static int[] clearState(int[] x)
           
protected static void consume(NDFA def, DTD dtd, Tag t, int[] curr, int[] next, int r, int d)
           
static int dist(TokenStream ts, DTD d)
           
protected static void multiply(int[] a, boolean[][] b, int r, int d, int[] c)
           
protected static void multiply(int[] a, int[][] b, int[] c)
           
protected static int scalarMultiply(boolean[] a, int[] b)
           
protected static int[] startState(NDFA def, DTD d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestaurationAutomaton

public RestaurationAutomaton()
Method Detail

add

protected static int add(int a,
                         int b)

clearState

protected static int[] clearState(int[] x)

consume

protected static void consume(NDFA def,
                              DTD dtd,
                              Tag t,
                              int[] curr,
                              int[] next,
                              int r,
                              int d)

dist

public static int dist(TokenStream ts,
                       DTD d)

multiply

protected static void multiply(int[] a,
                               boolean[][] b,
                               int r,
                               int d,
                               int[] c)

multiply

protected static void multiply(int[] a,
                               int[][] b,
                               int[] c)

scalarMultiply

protected static int scalarMultiply(boolean[] a,
                                    int[] b)

startState

protected static int[] startState(NDFA def,
                                  DTD d)