StopCriteria (Apache OpenNLP Tools 2.5.9 API)
Description: declaration: package: opennlp.tools.monitoring, interface: StopCriteria

# Interface StopCriteria<T extends Number>

All Superinterfaces:
  `Predicate<T>`

All Known Implementing Classes:
  `IterDeltaAccuracyUnderTolerance, LogLikelihoodThresholdBreached`

public interface StopCriteria<T extends Number> extends Predicate<T>
Stop criteria for model training. If the predicate is met, then the training is aborted.

See Also:
  - `Predicate`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `FINISHED`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getMessageIfSatisfied()`

  ### Methods inherited from interface Predicate

  `and, negate, or, test`

- ## Field Details

  - ### FINISHED

    static final String FINISHED
    See Also:
      - Constant Field Values

- ## Method Details

  - ### getMessageIfSatisfied

    String getMessageIfSatisfied()
    Returns:
      A detailed message captured upon hitting the `StopCriteria` during model training.