25 #include <MemoryX/interface/memorytypes/MemoryEntities.h>
26 #include <MemoryX/interface/memorytypes/MemorySegments.h>
28 #include <MemoryX/interface/components/PriorKnowledgeInterface.h>
46 virtual public GraphMemorySegmentBase
53 Ice::StringSeq getScenes(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
55 memoryx::GraphNodeBaseList getNodesByScene(
const std::string& sceneName,
const Ice::Current&
c = Ice::emptyCurrent)
override;
56 memoryx::GraphNodeBasePtr getNodeById(
const std::string& entityId,
const Ice::Current&
c = Ice::emptyCurrent)
override;
57 memoryx::GraphNodeBasePtr getNodeByName(
const std::string& entityName,
const Ice::Current&
c = Ice::emptyCurrent)
override;
58 memoryx::GraphNodeBaseList getAllNodes(
const Ice::Current&
c = Ice::emptyCurrent)
override;
60 void clearScene(
const std::string& sceneName,
const Ice::Current&
c = Ice::emptyCurrent)
override;
62 bool removeNode(
const std::string&,
const Ice::Current&)
override;
63 bool removeEdge(
const std::string& startNodeId,
const std::string& endNodeId,
const Ice::Current&)
override;
65 std::string addNode(
const memoryx::GraphNodeBasePtr& node,
const Ice::Current&
c = Ice::emptyCurrent)
override;
66 bool addEdge(
const std::string& fromId,
const std::string& toId,
const Ice::Current&
c = Ice::emptyCurrent)
override;
68 bool hasScene(const ::std::string& sceneName, const ::Ice::Current&
c = Ice::emptyCurrent)
override;
69 bool hasNodeWithName(const ::std::string& sceneName, const ::std::string& nodeName, const ::Ice::Current& = Ice::emptyCurrent)
override;
71 ::memoryx::GraphNodeBasePtr getNodeFromSceneByName(const ::std::string& sceneName, const ::std::string& nodeName, const ::Ice::Current& = Ice::emptyCurrent)
override;
74 ::memoryx::GraphNodeBaseList aStar(const ::std::string& idFrom, const ::std::string& idTo, const ::Ice::Current& = Ice::emptyCurrent)
override;
77 memoryx::GraphNodeBasePtr getNodeById(
const std::string& entityId,
const Ice::Current&
c = Ice::emptyCurrent)
const;