memory_serialization.h
Go to the documentation of this file.
1
#pragma once
2
3
#ifdef MEMORYX_FOUND
4
5
#include <MemoryX/interface/memorytypes/MemoryEntities.h>
6
#include <SemanticObjectRelations/RelationGraph/json/AttributedGraph.h>
7
8
namespace
armarx::semantic
9
{
10
11
12
memoryx::RelationList
toMemory
(
const
semrel::AttributedGraph& graph);
13
14
/**
15
* @brief Creates an attributed graph from a relation list.
16
*
17
* The relation list can be retrieved from the working memory.
18
* The attributed graph only contains the JSON attributes and not
19
* the deserialized shape objects.
20
*
21
* @param relations List of relations used to create the attributed graph.
22
* @return Attributed graph.
23
*/
24
semrel::AttributedGraph fromMemory(
const
memoryx::RelationList& relations);
25
26
}
// namespace armarx::semantic
27
28
#endif
armarx::armem::wm::toMemory
void toMemory(Memory &m, const std::vector< CoreSegment > &e)
Definition:
memory_conversions.cpp:6
armarx::semantic
Definition:
ShapesSupportRelations.cpp:32
VisionX
libraries
SemanticObjectRelations
memory_serialization.h
Generated on Sat Oct 12 2024 09:14:18 for armarx_documentation by
1.8.17