Go to the documentation of this file.
43 const std::map<std::string, Normalization>& normalization = {});
56 bool pathInWhitelist(
const aron::Path& p)
const;
61 checkForNormalization(
const aron::Path& p,
const T& t)
63 for (
const auto& [n,
v] : normalization)
67 auto diff =
v.max -
v.min;
68 auto norm = (t -
v.min) / diff;
75 std::vector<std::string> whitelist;
76 std::map<std::string, Normalization> normalization;
std::shared_ptr< Long > LongPtr
std::shared_ptr< NDArray > NDArrayPtr
std::shared_ptr< Double > DoublePtr
bool starts_with(const std::string &haystack, const std::string &needle)
std::shared_ptr< Variant > VariantPtr
std::shared_ptr< Dict > DictPtr
double v(double t, double v0, double a0, double j)
void visitAronVariant(const data::DictPtr &) override
aron::data::VariantPtr data
WhitelistFilter(const std::vector< std::string > &whitelist, const std::map< std::string, Normalization > &normalization={})
std::shared_ptr< Float > FloatPtr
std::shared_ptr< String > StringPtr
std::shared_ptr< Int > IntPtr
std::shared_ptr< List > ListPtr
std::string toString() const
std::shared_ptr< Bool > BoolPtr
double norm(const Point &a)