Running asmoses -i datasets/fimilar.csv --atomspace-port=1 produced this error:- vertex should be 'id::logical_true' or 'id::logical_false'. I then realized the function that is producing these error happens to have a logic error . When the vertex that is passed to the function vertex_to_bool is either id::logical_true or id::logical_false the function should run properly with no error . The reason behind that is that you cannot convert a logical_and/or/lambda...etc to bool and that is not the purpose of the function vertex_to_bool. But that is not the case with this implementation. It says when vertex is logical_true or logical_false then return an exception which prohibits the function to go forward with the conversion.
Running
asmoses -i datasets/fimilar.csv --atomspace-port=1
produced this error:- vertex should be 'id::logical_true' or 'id::logical_false'. I then realized the function that is producing these error happens to have a logic error . When the vertex that is passed to the function vertex_to_bool is either id::logical_true or id::logical_false the function should run properly with no error . The reason behind that is that you cannot convert a logical_and/or/lambda...etc to bool and that is not the purpose of the functionvertex_to_bool
. But that is not the case with this implementation. It says when vertex is logical_true or logical_false then return an exception which prohibits the function to go forward with the conversion.