Class StandardCPODataFilter

java.lang.Object
cpod.dataSelector.StandardCPODataFilter
All Implemented Interfaces:
CPODDataFilter

public class StandardCPODataFilter extends Object implements CPODDataFilter
Basic data fitler for a CPOD
Author:
au671271
  • Constructor Details

    • StandardCPODataFilter

      public StandardCPODataFilter()
  • Method Details

    • getDataValue

      public double getDataValue(CPODClick cpodClick, int type)
      Get the data value form the CPODClick
      Parameters:
      cpodClick - - the CPODClick
      Returns:
      the data value.
    • scoreData

      public int scoreData(CPODClick cpodClick, StandardCPODFilterParams cpodFilterParams)
      Description copied from interface: CPODDataFilter
      Score the data from a CPOD click.
      Specified by:
      scoreData in interface CPODDataFilter
      Parameters:
      cpodClick - - the CPOD click.
      cpodFilterParams - - parameters for scoring the data.
      Returns:
      the score. 0 usually indicates false.