#include <searchState.h>
Public Member Functions | |
double | get () const |
QString | name () const |
SearchParameter (const SearchParameter &p) | |
SearchParameter (QString name, double val=0) | |
void | set (double v) |
Private Attributes | |
QString | mName |
double | mValue |
A parameter is used to change the behavior of a search, but is not actually searched on. Is set once, typically at the beginning of the search. Conceptually, it is not all that different from a variable. For example, consider we are searching for a position on a known sphere. The latitude and longitude would be variables, but the radius of the sphere would be a parameter.
Definition at line 96 of file searchState.h.
SearchParameter::SearchParameter | ( | QString | name, | |
double | val = 0 | |||
) | [inline] |
Definition at line 101 of file searchState.h.
SearchParameter::SearchParameter | ( | const SearchParameter & | p | ) | [inline] |
Definition at line 102 of file searchState.h.
double SearchParameter::get | ( | ) | const [inline] |
Definition at line 107 of file searchState.h.
QString SearchParameter::name | ( | ) | const [inline] |
Definition at line 108 of file searchState.h.
void SearchParameter::set | ( | double | v | ) | [inline] |
Definition at line 106 of file searchState.h.
QString SearchParameter::mName [private] |
Definition at line 98 of file searchState.h.
double SearchParameter::mValue [private] |
Definition at line 99 of file searchState.h.