|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.nist.nlpir.irf.query.QueryModalityUnit
Holds Query Modality information to be used in retrieval.
Field Summary | |
private java.lang.String |
attributeName
The name of the attribute associated with this query modality. |
private IdxWeightsWithMatchDegree |
combiner
The combination of indexing weights and matching degree. |
private java.util.Vector |
conditions
|
private java.lang.String |
docType
The document type. |
private java.lang.String |
indexName
The name of the index associated with this query modality unit. |
private Matcherbp |
matcher
The Matcher object associated with this query modality unit. |
private int |
number
Serves for accessing the appropriate collection of indexing features from the ordered collection of collections of indexing features derived for the query document. |
private double |
thresholdMD
The matching threshold for this query modality. |
private double |
weight
The weighting function for this query modality |
Constructor Summary | |
QueryModalityUnit(java.lang.String idx,
Matcherbp ma,
IdxWeightsWithMatchDegree co,
java.lang.String doc,
java.lang.String attr,
double threshold)
Creates a QueryModalityUnit and initializes IndexName, DocType, AttributeName and ThresholdMD. |
Method Summary | |
java.lang.String |
getAttributeName()
Gets the AttributeName of the QueryModalityUnit. |
IdxWeightsWithMatchDegree |
getCombiner()
Gets the Combiner of the QueryModalityUnit. |
java.util.Vector |
getConditions()
Gets the Conditions of the QueryModalityUnit. |
java.lang.String |
getDocType()
Gets the DocType of the QueryModalityUnit. |
java.lang.String |
getIndexName()
Gets the IndexName of the QueryModalityUnit. |
Matcherbp |
getMatcher()
Gets the Matcher of the QueryModalityUnit. |
int |
getNumber()
Gets the number of the QueryModalityUnit. |
double |
getThresholdMD()
Gets the ThresholdMD of the QueryModalityUnit. |
double |
getWeight()
Gets the Weight of the QueryModalityUnit. |
void |
setConditions(java.util.Vector c)
Sets the Conditions of the QueryModalityUnit to c. |
void |
setNumber(int n)
Sets the number of the QueryModalityUnit to c. |
void |
setWeight(double w)
Sets the Weight of the QueryModalityUnit to c. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.lang.String indexName
private Matcherbp matcher
private IdxWeightsWithMatchDegree combiner
private java.lang.String docType
private java.lang.String attributeName
private double thresholdMD
private double weight
private int number
private java.util.Vector conditions
Constructor Detail |
public QueryModalityUnit(java.lang.String idx, Matcherbp ma, IdxWeightsWithMatchDegree co, java.lang.String doc, java.lang.String attr, double threshold)
idx
- Index name.ma
- Matcherco
- Combinerdoc
- Document type.attr
- Attribute name.threshold
- ThresholdMDMethod Detail |
public void setConditions(java.util.Vector c)
c
- Conditionspublic java.util.Vector getConditions()
public java.lang.String getIndexName()
public Matcherbp getMatcher()
public IdxWeightsWithMatchDegree getCombiner()
public java.lang.String getDocType()
public java.lang.String getAttributeName()
public double getThresholdMD()
public double getWeight()
public void setWeight(double w)
w
- Weightpublic int getNumber()
public void setNumber(int n)
n
- numberpublic java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |