6 #ifndef KNOWROB_GRAPH_RENAMING_H
7 #define KNOWROB_GRAPH_RENAMING_H
12 #include "knowrob/semweb/Triple.h"
23 class GraphRenaming :
public GraphTransformation {
38 std::string_view
rename(
const std::string_view &entity);
54 bool configure(
const boost::property_tree::ptree &opts)
override;
void pushInputTriples(const TripleContainerPtr &triples) override
void initializeTransformation() override
bool configure(const boost::property_tree::ptree &opts) override
void addRenaming(std::string_view from, std::string_view to)
void rename(Triple &triple)
void finalizeTransformation() override
std::string_view rename(const std::string_view &entity)
GraphRenaming(GraphRenamingMap renaming)
bool readFromFile(const std::string &filename)
GraphRenamingMap renaming_
std::shared_ptr< TripleContainer > TripleContainerPtr
std::map< std::string, std::string, std::less<> > GraphRenamingMap