4#ifndef MUONINFERENCEINTERACES_GRAPHFEATURELIST_H
5#define MUONINFERENCEINTERACES_GRAPHFEATURELIST_H
17 using Feature_t = std::shared_ptr<const NodeFeature>;
std::function< bool(const Bucket_t &, size_t, size_t)> Evaluator_t
Function type to connect two space points in a bucket.
bool operator==(const NodeFeatureList &other) const
Returns true if the features have pairwise the same name.
std::shared_ptr< const NodeFeature > Feature_t
size_t numFeatures() const
Returns the number of features in the list.
bool setConnector(const std::string &conName, MsgStream &msg)
Tries to set the graph connector based on the connector name.
std::vector< Feature_t > m_features
NodeFeature::Bucket_t Bucket_t
bool isValid() const
Returns whether the NodeFeatureList is complete, i.e.
std::vector< std::string > featureNames() const
Returns the name of the features in the list.
std::shared_ptr< const NodeConnector > Connector_t
NodeFeatureList()=default
Empty standard constructor.
void fillInData(const Bucket_t &bucket, GraphRawData &graphData) const
bool addFeature(const std::string &featName, MsgStream &msg)
Tries to add a new feature to the list using the predefined list of features in the GraphFeatureFacto...
LayerSpBucket Bucket_t
Abreviation of the Space point bucket type.
Helper struct to ship the Graph from the space point buckets to ONNX.