edu.northwestern.at.monk.model
Class FreqCumMainCriterion

java.lang.Object
  extended by edu.northwestern.at.monk.model.SearchCriterion
      extended by edu.northwestern.at.monk.model.NumericCriterion
          extended by edu.northwestern.at.monk.model.DoubleCriterion
              extended by edu.northwestern.at.monk.model.FreqCumMainCriterion

public class FreqCumMainCriterion
extends DoubleCriterion

A cumulative frequency over main text (non-paratext) search criterion.

See Also:
MONK Datastore Overview, Licensing Agreement

Constructor Summary
FreqCumMainCriterion(java.util.Collection<DoubleRange> ranges)
          Creates a new cumulative frequency over main text (non-paratext) search criterion.
FreqCumMainCriterion(double val)
          Creates a new cumulative frequency over main text (non-paratext) search criterion.
FreqCumMainCriterion(java.lang.Double val)
          Creates a new cumulative frequency over main text (non-paratext) search criterion.
FreqCumMainCriterion(double start, double end)
          Creates a new cumulative frequency over main text (non-paratext) search criterion.
FreqCumMainCriterion(double start, java.lang.Double end)
          Creates a new cumulative frequency over main text (non-paratext) search criterion.
FreqCumMainCriterion(java.lang.Double start, double end)
          Creates a new cumulative frequency over main text (non-paratext) search criterion.
FreqCumMainCriterion(java.lang.Double start, java.lang.Double end)
          Creates a new cumulative frequency over main text (non-paratext) search criterion.
FreqCumMainCriterion(DoubleRange... ranges)
          Creates a new cumulative frequency over main text (non-paratext) search criterion.
 
Method Summary
 
Methods inherited from class edu.northwestern.at.monk.model.DoubleCriterion
getEnd, getRange, getRanges, getStart, getValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreqCumMainCriterion

public FreqCumMainCriterion(double val)
                     throws ModelException
Creates a new cumulative frequency over main text (non-paratext) search criterion.

Parameters:
val - Value.
Throws:
ModelException -
Should never be thrown

FreqCumMainCriterion

public FreqCumMainCriterion(java.lang.Double val)
                     throws ModelException
Creates a new cumulative frequency over main text (non-paratext) search criterion.

Parameters:
val - Value, or null if none.
Throws:
ModelException -
Should never be thrown

FreqCumMainCriterion

public FreqCumMainCriterion(double start,
                            double end)
                     throws ModelException
Creates a new cumulative frequency over main text (non-paratext) search criterion.

Parameters:
start - Start freq.
end - End freq.
Throws:
ModelException -
Start is greater than end in range: xxx-yyy. (if start > end)

FreqCumMainCriterion

public FreqCumMainCriterion(java.lang.Double start,
                            double end)
                     throws ModelException
Creates a new cumulative frequency over main text (non-paratext) search criterion.

Parameters:
start - Start freq, or null if none.
end - End freq.
Throws:
ModelException -
Start is greater than end in range: xxx-yyy. (if start > end)

FreqCumMainCriterion

public FreqCumMainCriterion(double start,
                            java.lang.Double end)
                     throws ModelException
Creates a new cumulative frequency over main text (non-paratext) search criterion.

Parameters:
start - Start freq.
end - End freq, or null if none.
Throws:
ModelException -
Start is greater than end in range: xxx-yyy. (if start > end)

FreqCumMainCriterion

public FreqCumMainCriterion(java.lang.Double start,
                            java.lang.Double end)
                     throws ModelException
Creates a new cumulative frequency over main text (non-paratext) search criterion.

Parameters:
start - Start freq, or null if none.
end - End freq, or null if none.
Throws:
ModelException -
Start is greater than end in range: xxx-yyy. (if start > end)

FreqCumMainCriterion

public FreqCumMainCriterion(DoubleRange... ranges)
                     throws ModelException
Creates a new cumulative frequency over main text (non-paratext) search criterion.

Parameters:
ranges - Ranges.
Throws:
ModelException -
Start is greater than end in range: xxx-yyy. (if start > end)

FreqCumMainCriterion

public FreqCumMainCriterion(java.util.Collection<DoubleRange> ranges)
                     throws ModelException
Creates a new cumulative frequency over main text (non-paratext) search criterion.

Parameters:
ranges - Collection of ranges.
Throws:
ModelException -
Start is greater than end in range: xxx-yyy. (if start > end)