
21 Mar
2016
21 Mar
'16
12:49 a.m.
On 03/20/2016 01:35 PM, Phil Bouchard wrote:
It's really fun to program with.
Here I am returning complex r-values recursively and it works fine: https://github.com/philippeb8/root_ptr/blob/master/example/t100.h#L152
I've cleaned up the example again and now a simple: cout << "Mind dump:" << endl; cout << * t100 << endl; cout << "Searching for: \"einstein\"" << endl; if (node_ptr<neuron_base> p = t100->search("einstein")) cout << p->sort().unique() << endl; cout << "Searching for: \"graviton\"" << endl; if (node_ptr<neuron_base> p = t100->search("graviton")) cout << p->sort().unique() << endl; Will dump you the atomic sentence fragments related to your search.