530be96b36
.FIX T67 .FIX T65 Modifed astar main for benchmark. Experimented with map of best visited and confirmed: -it is faster by 25% -observed that it founds best resoult -loses some non best resoults Added convinent method at() to get property from RecordAccessor. Method requires value_ref() method on property object.
15 lines
301 B
C++
15 lines
301 B
C++
#pragma once
|
|
|
|
#include "storage/model/properties/floating.hpp"
|
|
|
|
struct Double : public Floating<Double>
|
|
{
|
|
static constexpr Flags type = Flags::Double;
|
|
|
|
Double(double value) : Floating(Flags::Double), value(value) {}
|
|
|
|
double const &value_ref() const { return value; }
|
|
|
|
double value;
|
|
};
|