edu.buffalo.nsf.xmlcqa.data.stream
Class StreamDist
java.lang.Object
edu.buffalo.nsf.xmlcqa.data.stream.StreamDist
- All Implemented Interfaces:
- Constants
- public class StreamDist
- extends java.lang.Object
- implements Constants
- Author:
- staworko
Fields inherited from interface edu.buffalo.nsf.xmlcqa.Constants |
INF |
Constructor Summary |
StreamDist(int h,
boolean modify)
|
Method Summary |
protected static java.lang.String |
arr2str(StreamDist.Cell[] c,
int i,
int size)
|
protected static java.lang.String |
arr2str(Token[] t,
int i,
int size)
|
protected void |
fillVector(Token[] x,
int i,
Token[] y,
int j,
StreamDist.Cell[] col,
StreamDist.Cell[] ncol,
StreamDist.Cell[] row,
int orient)
|
int |
find(TokenStream xs,
TokenStream ys)
|
protected static java.lang.String |
list2str(java.util.List l,
int i,
int size)
|
protected void |
swap(int orient)
|
protected void |
swapCol()
|
protected void |
swapRow()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
col
protected StreamDist.Cell[] col
DIAG
protected static final int DIAG
- See Also:
- Constant Field Values
h
protected int h
HORIZ
protected static final int HORIZ
- See Also:
- Constant Field Values
i
protected int i
j
protected int j
modify
protected boolean modify
ncol
protected StreamDist.Cell[] ncol
nrow
protected StreamDist.Cell[] nrow
row
protected StreamDist.Cell[] row
size
protected int size
VERT
protected static final int VERT
- See Also:
- Constant Field Values
StreamDist
public StreamDist(int h,
boolean modify)
arr2str
protected static java.lang.String arr2str(StreamDist.Cell[] c,
int i,
int size)
arr2str
protected static java.lang.String arr2str(Token[] t,
int i,
int size)
fillVector
protected void fillVector(Token[] x,
int i,
Token[] y,
int j,
StreamDist.Cell[] col,
StreamDist.Cell[] ncol,
StreamDist.Cell[] row,
int orient)
find
public int find(TokenStream xs,
TokenStream ys)
list2str
protected static java.lang.String list2str(java.util.List l,
int i,
int size)
swap
protected void swap(int orient)
swapCol
protected void swapCol()
swapRow
protected void swapRow()
toString
public java.lang.String toString()