aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/Edge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/Edge.cpp')
-rw-r--r--src/engine/Edge.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/Edge.cpp b/src/engine/Edge.cpp
index 6b1aede..c79d1cc 100644
--- a/src/engine/Edge.cpp
+++ b/src/engine/Edge.cpp
@@ -16,7 +16,6 @@
*/
#include "raul/Atom.hpp"
-#include "raul/AtomRDF.hpp"
#include "sord/sordmm.hpp"
@@ -28,7 +27,7 @@ namespace Machina {
void
Edge::set(URIInt key, const Raul::Atom& value)
{
- std::cout << "EDGE SET " << key << " = " << value << std::endl;
+ std::cout << "EDGE SET " << key << std::endl;
}
void
@@ -60,10 +59,13 @@ Edge::write_state(Sord::Model& model)
Sord::Curie(model.world(), "machina:head"),
head->rdf_id(model.world()));
+ std::cerr << "FIXME: save atom" << std::endl;
+ /*
model.add_statement(
rdf_id,
Sord::Curie(model.world(), "machina:probability"),
AtomRDF::atom_to_node(model, Atom(_probability.get())));
+ */
}
} // namespace Machina