sequencereader.java
来自「dragontoolkit用于机器学习」· Java 代码 · 共 31 行
JAVA
31 行
package dragon.ir.index.sequence;/** * <p>Interface of Sequence Reader</p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2005</p> * <p>Company: IST, Drexel University</p> * @author Davis Zhou * @version 1.0 */public interface SequenceReader { /** * It is required to call this method before reading out sequence information from indexing files. */ public void initialize(); public void close(); /** * For example, a document or a setence could be treated as a seuqnce. * @param index: the index of the sequence * @return the sequence information */ public int[] getSequence(int index); /** * @param index: the index of the sequence * @return the length of the index-th sequence */ public int getSequenceLength(int index);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?