Class BandwidthSelector

Class Documentation

class BandwidthSelector

Bandwidth selector based on golden-selection algorithm.

Public Functions

inline BandwidthSelector(const BandwidthWeight &bandwidth)

Construct a new Bandwidth Selector object.

inline BandwidthSelector(const BandwidthWeight &bandwidth, double lower, double upper)

Construct a new Bandwidth Selector object. Bandwidth Lower bound Upper bound.

inline ~BandwidthSelector()

Destroy the Bandwidth Selector object.

inline const BandwidthWeight &result() const

Get the bandwidth. Bandwidth.

inline double lower() const

Set the bandwidth. Bandwidth.

Get the lower bound. Lower bound

inline void setLower(double lower)

Set the lower bound. Lower bound.

inline double upper() const

Get the upper bound. Upper bound.

inline void setUpper(double upper)

Set the upper bound. Upper bound.

BandwidthCriterionList bandwidthCriterion() const

Get the list of criterion values for each bandwidth. List of criterion values for each bandwidth.

Status optimize(IBandwidthSelectable *instance)

Optimize bandwidth. A pointer to a instance of type inherited from gwm::IBandwidthSelectable Optimized bandwdith.