|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--iglu.ir.AbstractIRPacket
Provides some implementation independent utility methods for IRPackets.
Constructor Summary | |
AbstractIRPacket()
|
Method Summary | |
java.lang.String[] |
allQueryTerms()
Return an array of all the terms occurring in the the queries. |
int[] |
docsForQuery(int queryNum,
int num)
Given a query number (index into array returned by allQueries()), return an index into the document set of all the documents which should be retrieved for the given query. |
int[] |
relatedDocs(int docNum)
Given an index into the document set, return all the documents that are "related" to that document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface iglu.ir.IRPacket |
allQueries, documentSet, queryToDocMapping |
Constructor Detail |
public AbstractIRPacket()
Method Detail |
public int[] docsForQuery(int queryNum, int num)
IRPacket
docsForQuery
in interface IRPacket
public int[] relatedDocs(int docNum)
IRPacket
relatedDocs
in interface IRPacket
public java.lang.String[] allQueryTerms()
IRPacket
allQueryTerms
in interface IRPacket
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |