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

Public Member Functions | Properties | Private Attributes | Static Private Attributes | List of all members
RFTesterBackend.SimulatedUsers.RandomSampleUser Class Reference

Implementation of performance controlled user. More...

Inheritance diagram for RFTesterBackend.SimulatedUsers.RandomSampleUser:

## Public Member Functions
| RandomSampleUser ()
void | GetDecision (List< int > display, List< int > targetScene, out List< int > likes)
| For given display and target scene creates subset of display that user likes most. More...
List< int > | SampleFromDist (List< int > display, double[] likeliness)
string | GetName ()
| Returns the name of the component. More...
List< EvaluationClassParAdditional > | OtherParametersToFill ()
| Returns list of parameters, that can be changed More...
void | SetMeasurer (IMeasurer measurer)
| Sets measurer of user to tell, what is relevant. More...
void | SetOtherParameters (List< EvaluationClassParAdditional > userParameters)
| Sets parameters of component. More...

## Properties
int | NumberOfLikes`[get, set]`
double | ProbabExponent`[get, set]`

## Private Attributes
IMeasurer | measurer
| Measurer for image features More...
int | numberOfLikes = 3
| Number of likes selected by this user. More...
double | probabExponent = 12
| Power of user. More...

## Static Private Attributes
static log4net.ILog | logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType)

## Detailed Description

Implementation of performance controlled user.

## Constructor & Destructor Documentation

## ◆ RandomSampleUser()

RFTesterBackend.SimulatedUsers.RandomSampleUser.RandomSampleUser | ( |  | ) |
| inline

## Member Function Documentation

## ◆ GetDecision()

void RFTesterBackend.SimulatedUsers.RandomSampleUser.GetDecision | ( | List< int > | display,
|  | List< int > | targetScene,
|  | out List< int > | likes
| ) |  |
| inline

For given display and target scene creates subset of display that user likes most.

Parameters

  display |
  targetScene |
  likes |

Implements RFTesterBackend.SimulatedUsers.IUser.

## ◆ GetName()

string RFTesterBackend.SimulatedUsers.RandomSampleUser.GetName | ( |  | ) |
| inline

Returns the name of the component.

Returns

Implements RFTesterBackend.Evaluator.IEvaluationClassPar.

## ◆ OtherParametersToFill()

List<EvaluationClassParAdditional> RFTesterBackend.SimulatedUsers.RandomSampleUser.OtherParametersToFill | ( |  | ) |
| inline

Returns list of parameters, that can be changed

Returns

Implements RFTesterBackend.Evaluator.IEvaluationClassPar.

## ◆ SampleFromDist()

List<int> RFTesterBackend.SimulatedUsers.RandomSampleUser.SampleFromDist | ( | List< int > | display,
|  | double[] | likeliness
| ) |  |
| inline

## ◆ SetMeasurer()

void RFTesterBackend.SimulatedUsers.RandomSampleUser.SetMeasurer | ( | IMeasurer | measurer | ) |
| inline

Sets measurer of user to tell, what is relevant.

Parameters

  measurer |

Implements RFTesterBackend.SimulatedUsers.IUser.

## ◆ SetOtherParameters()

void RFTesterBackend.SimulatedUsers.RandomSampleUser.SetOtherParameters | ( | List< EvaluationClassParAdditional > | userParameters | ) |
| inline

Sets parameters of component.

Must contain all the parameters from OtherParametersToFill().

Parameters

  userParameters |

Implements RFTesterBackend.Evaluator.IEvaluationClassPar.

## Member Data Documentation

## ◆ logger

log4net.ILog RFTesterBackend.SimulatedUsers.RandomSampleUser.logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType)
| staticprivate

## ◆ measurer

IMeasurer RFTesterBackend.SimulatedUsers.RandomSampleUser.measurer
| private

Measurer for image features

## ◆ numberOfLikes

int RFTesterBackend.SimulatedUsers.RandomSampleUser.numberOfLikes = 3
| private

Number of likes selected by this user.

## ◆ probabExponent

double RFTesterBackend.SimulatedUsers.RandomSampleUser.probabExponent = 12
| private

Power of user.

## Property Documentation

## ◆ NumberOfLikes

int RFTesterBackend.SimulatedUsers.RandomSampleUser.NumberOfLikes
| getset

## ◆ ProbabExponent

double RFTesterBackend.SimulatedUsers.RandomSampleUser.ProbabExponent
| getset

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

- RFTesterBackend/SimulatedUsers/RandomSampleUser.cs