template class geode::ConstantMetric

Constant metric implementation

#include <constant_metric.h>

template <index_t dimension>
class ConstantMetric: public geode::Metric
{
public:
    // construction

    ConstantMetric(double metric);

    // methods

    virtual double metric(const Point<dimension>&) const;
    double constant_metric() const;
    virtual double average_metric() const;
};

Inherited Members

public:
    // methods

    virtual double metric(const Point<dimension>& point) const = 0;
    virtual double average_metric() const = 0;