org.terrier.matching
Class MatchingQueryTerms.QueryTermProperties

java.lang.Object
  extended by org.terrier.matching.MatchingQueryTerms.QueryTermProperties
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Enclosing class:
MatchingQueryTerms

protected static class MatchingQueryTerms.QueryTermProperties
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

The weight and the modifiers associated with a query term.

See Also:
Serialized Form

Constructor Summary
MatchingQueryTerms.QueryTermProperties(int _index)
           
MatchingQueryTerms.QueryTermProperties(int _index, double w)
          A constructor for setting the weight of a term.
MatchingQueryTerms.QueryTermProperties(int _index, double w, EntryStatistics _stats)
          A constructor for setting the weight of a term and its term code.
MatchingQueryTerms.QueryTermProperties(int _index, double w, WeightingModel model)
          A constructor for setting the weight and a term score modifier for a term.
MatchingQueryTerms.QueryTermProperties(int _index, double w, WeightingModel model, EntryStatistics _stats)
          A constructor for setting a weight, a term score modifier and the term code for a query term.
MatchingQueryTerms.QueryTermProperties(int _index, EntryStatistics _stats)
          An constructor for setting the term code of a query term.
MatchingQueryTerms.QueryTermProperties(int _index, WeightingModel model)
          A constructor for setting a term score modifier for a term.
MatchingQueryTerms.QueryTermProperties(int _index, WeightingModel model, EntryStatistics _stats)
          A constructor for setting a term score modifier for a term and its term code.
 
Method Summary
 java.lang.Object clone()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchingQueryTerms.QueryTermProperties

public MatchingQueryTerms.QueryTermProperties(int _index)

MatchingQueryTerms.QueryTermProperties

public MatchingQueryTerms.QueryTermProperties(int _index,
                                              EntryStatistics _stats)
An constructor for setting the term code of a query term.

Parameters:
_stats - the statistics of the query term

MatchingQueryTerms.QueryTermProperties

public MatchingQueryTerms.QueryTermProperties(int _index,
                                              double w)
A constructor for setting the weight of a term.

Parameters:
w - double the weight of a query term.

MatchingQueryTerms.QueryTermProperties

public MatchingQueryTerms.QueryTermProperties(int _index,
                                              WeightingModel model)
A constructor for setting a term score modifier for a term.

Parameters:
model - WeightingModel modifier associated with a query term.

MatchingQueryTerms.QueryTermProperties

public MatchingQueryTerms.QueryTermProperties(int _index,
                                              double w,
                                              WeightingModel model)
A constructor for setting the weight and a term score modifier for a term.

Parameters:
w - double the weight of a query term.
model - WeightingModel modifier associated with a query term.

MatchingQueryTerms.QueryTermProperties

public MatchingQueryTerms.QueryTermProperties(int _index,
                                              double w,
                                              EntryStatistics _stats)
A constructor for setting the weight of a term and its term code.

Parameters:
w - double the weight of a query term.
_stats - statistics of the query term

MatchingQueryTerms.QueryTermProperties

public MatchingQueryTerms.QueryTermProperties(int _index,
                                              WeightingModel model,
                                              EntryStatistics _stats)
A constructor for setting a term score modifier for a term and its term code.

Parameters:
model - WeightingModel modifier associated with a query term.
_stats - statistics of the query term

MatchingQueryTerms.QueryTermProperties

public MatchingQueryTerms.QueryTermProperties(int _index,
                                              double w,
                                              WeightingModel model,
                                              EntryStatistics _stats)
A constructor for setting a weight, a term score modifier and the term code for a query term.

Parameters:
w - double the weight of a query term.
model - WeightingModel modifier associated with a query term.
_stats - statistics of the query term
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Terrier 3.5. Copyright © 2004-2011 University of Glasgow