RFTester Tool for automated testing relevance feedback algorithms fro known-item search

Public Member Functions | List of all members
RFTesterBackend.Measurers.CosineMeasurer Class Reference

Implementation of cosine distance measurments. More...

Inheritance diagram for RFTesterBackend.Measurers.CosineMeasurer:

## Public Member Functions
double | Distance (int v1, int v2)
| Returns cosine distance between two images with id v1 and v2. More...
string | GetName ()
| Returns the name of the component. More...
double? | MaxDistance ()
| Returns max distance in this distance measurement. More...
List< EvaluationClassParAdditional > | OtherParametersToFill ()
| Returns list of parameters, that can be changed More...
void | SetOtherParameters (List< EvaluationClassParAdditional > userParameters)
| Sets parameters of component. More...

## Detailed Description

Implementation of cosine distance measurments.

## Member Function Documentation

## ◆ Distance()

double RFTesterBackend.Measurers.CosineMeasurer.Distance | ( | int | v1,
|  | int | v2
| ) |  |
| inline

Returns cosine distance between two images with id v1 and v2.

Parameters

  v1 |
  v2 |

Returns

Implements RFTesterBackend.Measurers.IMeasurer.

## ◆ GetName()

string RFTesterBackend.Measurers.CosineMeasurer.GetName | ( |  | ) |
| inline

Returns the name of the component.

Returns

Implements RFTesterBackend.Evaluator.IEvaluationClassPar.

## ◆ MaxDistance()

double? RFTesterBackend.Measurers.CosineMeasurer.MaxDistance | ( |  | ) |
| inline

Returns max distance in this distance measurement.

Returns

Implements RFTesterBackend.Measurers.IMeasurer.

## ◆ OtherParametersToFill()

List<EvaluationClassParAdditional> RFTesterBackend.Measurers.CosineMeasurer.OtherParametersToFill | ( |  | ) |
| inline

Returns list of parameters, that can be changed

Returns

Implements RFTesterBackend.Evaluator.IEvaluationClassPar.

## ◆ SetOtherParameters()

void RFTesterBackend.Measurers.CosineMeasurer.SetOtherParameters | ( | List< EvaluationClassParAdditional > | userParameters | ) |
| inline

Sets parameters of component.

Must contain all the parameters from OtherParametersToFill().

Parameters

  userParameters |

Implements RFTesterBackend.Evaluator.IEvaluationClassPar.

The documentation for this class was generated from the following file:

- RFTesterBackend/Measurers/CosineMeasurer.cs