9 start_(al->start_), end_(al->end_), incr_(al->incr_),
10 curr_(al->curr_), count_(al->count_),
11 terminate_(al->terminate_), err_(al->err_),
43 int len = snprintf( buffer, 25,
"%g", x );
45 edm::LogError(
"DoubleToString" ) <<
"Length truncated (from " << len <<
")";
46 return std::string( buffer );
class for algorithmic positioning, represents an algorithm
virtual void checkTermination()
for algorithms with incr_==0 the algorithm must check whether to terminate
virtual int copyno() const
copy-number calculation
static std::string d2s(double x)
ahh, converts a double into a std::string ... yet another one of this kind!
void registerAlgo(AlgoImpl *)
registers an implementation of the algorithm
AlgoImpl(AlgoPos *, std::string label)
subclass must provide a similar constructor and call this one
void terminate()
stop the current iteration of the algorithm (for incr_==0 types of algorithms)