8 start_(al->start_), end_(al->end_), incr_(al->incr_),
9 curr_(al->curr_), count_(al->count_),
10 terminate_(al->terminate_), err_(al->err_),
42 int len = snprintf( buffer, 25,
"%g", x );
44 edm::LogError(
"DoubleToString" ) <<
"Length truncated (from " << len <<
")";
45 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)