33 void AddNode(std::vector<float> position, std::vector<float> features,
34 std::vector<float> groundTruth);
72 #endif // CVN_GCNGRAPH_H const unsigned int GetNumberOfNodeCoordinates() const
Return the number of coordinates for each node.
GCNGraph, basic input for the GCN.
std::ostream & operator<<(std::ostream &os, const PixelMapProducer &p)
void AddNode(std::vector< float > position, std::vector< float > features)
Add a new node.
const std::vector< float > GetSpacialExtent() const
Get the extent in each dimension.
Utility class for truth labels.
GCNGraph()
Default constructor.
const std::vector< std::pair< float, float > > GetMinMaxPositions() const
Return minimum and maximum position coordinate values.
GCNGraphNode & GetNodeEditable(const unsigned int index)
const float GetCoordinateSpacialExtent(unsigned int index) const
const std::pair< float, float > GetCoordinateMinMax(unsigned int index) const
const GCNGraphNode & GetNode(const unsigned int index) const
Access nodes.
std::vector< GCNGraphNode > fNodes
Store the nodes.
const unsigned int GetNumberOfNodeFeatures() const
Return the number of features for each node.
const std::vector< float > ConvertGraphToVector() const
Function to linearise the graph to a vector for zlib file creation.
const unsigned int GetNumberOfNodes() const
Get the number of nodes.