public class IRDoc extends Object implements WeightSortable, IndexSortable, Comparable, Serializable
IRDoc is data structure for IR document indexing which can be sorted and thus compared by weight and index
Description:
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IRDoc doc) |
int |
compareTo(Object obj) |
IRDoc |
copy() |
int |
getCategory() |
int |
getIndex() |
String |
getKey() |
int |
getRelationCount() |
int |
getRelationNum() |
int |
getTermCount() |
int |
getTermNum() |
double |
getWeight() |
void |
setCategory(int category) |
void |
setIndex(int index) |
void |
setKey(String key) |
void |
setRelationCount(int relationCount) |
void |
setRelationNum(int relationNum) |
void |
setTermCount(int termCount) |
void |
setTermNum(int termNum) |
void |
setWeight(double weight) |
public IRDoc(String key)
public IRDoc(int index)
public IRDoc copy()
public String getKey()
public void setKey(String key)
public int getCategory()
public void setCategory(int category)
public int getTermNum()
public void setTermNum(int termNum)
public int getTermCount()
public void setTermCount(int termCount)
public int getRelationNum()
public void setRelationNum(int relationNum)
public int getRelationCount()
public void setRelationCount(int relationCount)
public int getIndex()
getIndex in interface IndexSortablepublic void setIndex(int index)
setIndex in interface IndexSortablepublic void setWeight(double weight)
setWeight in interface WeightSortablepublic double getWeight()
getWeight in interface WeightSortablepublic int compareTo(Object obj)
compareTo in interface Comparablepublic int compareTo(IRDoc doc)
Copyright © 2018 JULIE Lab, Germany. All rights reserved.