7 #ifndef CVN_GCNGRAPHNODE_H 8 #define CVN_GCNGRAPHNODE_H 25 GCNGraphNode(std::vector<float> position, std::vector<float> features,
26 std::vector<float> groundTruth);
51 const float GetFeature(
const unsigned int feature)
const;
61 #endif // CVN_GCNGRAPHNODE_H
std::vector< float > fPosition
const std::vector< float > GetGroundTruth() const
Get the node truth.
Utility class for truth labels.
const unsigned int GetNumberOfFeatures() const
Get the number of features.
void AddPositionCoordinate(float pos)
Add a node position coordinate.
~GCNGraphNode()
Destructor.
const std::vector< float > GetFeatures() const
Get the node features.
const unsigned int GetNumberOfCoordinates() const
Get the number of position coordinates.
void AddFeature(float feature)
Add a node feature.
std::vector< float > fGroundTruth
GCNGraphNode()
Default constructor.
const std::vector< float > GetPosition() const
Get the node position, features or ground truth.
void AddGroundTruth(float truth)
Set true ID.
const float GetFeature(const unsigned int feature) const
Get feature - zero indexed - and returns -999. if feature doesn't exist.
std::vector< float > fFeatures