// // C++ Interface: BisectionLocator // // Description: // // // Author: Takeshi Nakazato , (C) 2012 // // Copyright: See COPYING file that comes with this distribution // // #ifndef ASAP_BISECTION_LOCATOR_H #define ASAP_BISECTION_LOCATOR_H #include "Locator.h" namespace asap { /** * Implementation of locate operation by bisection search * @author TakeshiNakazato */ class BisectionLocator : public Locator { public: BisectionLocator() {;} BisectionLocator(double *v, unsigned int n); virtual ~BisectionLocator(); unsigned int locate(double x); }; } #endif