|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--unot.Pattern | +--unot.MatchPattern
MatchPattern.java このクラスは UNOT パターンのデータ構造を表現する. (trcs216.pdf pp.8 Fig.4) Created: Thu Aug 7 20:34:14 2003
フィールドの概要 | |
private unot.DLpairList |
code
(depth, label) 対の列 |
protected unot.IndexList |
right
code における右木への添字インデックス値の配列 |
protected int |
rootCount
根出現となるノードのリスト.オプション |
protected unot.NodeList |
rootList
根出現となるノードのリスト.オプション |
クラス unot.Pattern から継承したフィールド |
docSet, id, INFTY_INDEX, reader, writer |
コンストラクタの概要 | |
MatchPattern()
Creates a new MatchPattern instance. |
|
MatchPattern(int rootLabel)
Returns a MatchPattern object that has only root node. |
メソッドの概要 | |
void |
add(unot.DLpair pair)
Returns a MatchPattern which is expanded with the Rightmost Expantion. |
java.lang.Object |
clone()
Returns a cloned object. |
int |
getCodeSize()
Get the code size (= the number of nodes). |
unot.DLpair |
getNodeAt(int i)
Get the depth-label pair for the i-th node. |
int |
getNodeIndex(int depth)
Gets the index of the node on the `code' array of this object. |
int |
getNodeLabel(int depth)
Gets the label of the rightmost branch node at the depth. |
int |
getRightIndex(int depth)
Gets the index of the depth in the rightmost branch. |
int |
getTopDepth()
Get the top depth of the rightmost branch. |
int |
getTopIndex()
Gets the top index of the `code' array of this object. |
java.lang.String |
toString()
Retrieves a String representation of the object. |
java.lang.String |
writeToString()
Retrieve a tree like String representation of the object. |
クラス unot.Pattern から継承したメソッド |
getId, getPatId, getPatternWriter, getRight, getRootCount, getRootList, isInftyNode, rightmostExpand, setId, setPatternReader, setPatternWriter, setRootCount, setRootList |
クラス java.lang.Object から継承したメソッド |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
private unot.DLpairList code
protected unot.IndexList right
protected unot.NodeList rootList
protected int rootCount
コンストラクタの詳細 |
public MatchPattern()
MatchPattern
instance.
public MatchPattern(int rootLabel)
rootLabel
- an int
valueメソッドの詳細 |
public int getCodeSize()
Pattern
内の getCodeSize
size
of the patternpublic unot.DLpair getNodeAt(int i)
Pattern
内の getNodeAt
(depth, label)
public int getTopDepth()
Pattern
内の getTopDepth
int
valuepublic int getTopIndex()
Pattern
内の getTopIndex
int
valuepublic int getNodeIndex(int depth)
Pattern
内の getNodeIndex
depth
- an int
value
int
valuepublic int getNodeLabel(int depth)
Pattern
内の getNodeLabel
depth
- an int
value
int
valuepublic int getRightIndex(int depth)
Pattern
内の getRightIndex
depth
- an int
value
int
valuepublic void add(unot.DLpair pair)
MatchPattern
valuepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
Pattern
内の clone
Object
value
java.lang.CloneNotSupportedException
- if an error occurspublic java.lang.String toString()
Pattern
内の toString
String
representation of this object.Object.toString()
public java.lang.String writeToString()
Pattern
内の writeToString
String
value
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |