SearchParameter Class Reference

#include <searchState.h>

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

QString SearchParameter::mName [private]

Definition at line 98 of file searchState.h.

double SearchParameter::mValue [private]

Definition at line 99 of file searchState.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


graspit
Author(s):
autogenerated on Wed Jan 25 11:00:24 2012