/* $Id: FoundIndex.java 125 2011-03-09 09:49:51Z ohura $ */
/*
 * Created on 2006/08/29
 */
package jp.ac.hokudai.meme.core_smart_gs.searcher;

/**
 * @author hajime
 */
public class FoundIndex {
    
    public final double score_;
    public final int[] indexList_;
    
    
    public FoundIndex(int[] indexList, double score){
        indexList_ = indexList;
        score_ = score;
    }
    
    public FoundIndex(int start,int finish, double score){
        int i;
        indexList_ = new int[finish-start+1];
        for(i=0;i<finish-start+1;++i){
        	indexList_[i]=start+i;
        }
        score_ = score;    	
    }
    
}
