Header-only C++11 implementations of all OpenCog repositories under namespace oc::* with zero external dependencies. Covers cogutil, atomspace, attention, cogserver, ure, pln, matrix, and atomspace-cog.
Header-only C++11 reimplementation of the OpenCog AGI framework. All modules live under namespace oc::*, require zero external dependencies, and compile with g++ -std=c++11 -I include -pthread.
#include <oc/oc.hpp> // everything
// or pick individual modules:
#include <oc/pln/pln.hpp> // PLN (pulls atomspace + ure + util)
#include <oc/matrix/matrix.hpp> // sparse matrix (pulls atomspace + util)
Compile: g++ -std=c++11 -I include -pthread your_file.cpp -o binary
| Header | Namespace | OpenCog Repo | Key Classes |
|---|---|---|---|
oc/util/util.hpp |
oc::util| cogutil |
| Logger, RandGen, Config, concurrent_queue, SigSlot, oc_assert |
oc/atomspace/atomspace.hpp | oc | atomspace | AtomSpace, Atom, Node, Link, Handle, TruthValue, Value, TypeRegistry |
oc/attention/attention.hpp | oc::attention | attention | AttentionBank, ECANRunner, ImportanceDiffusion, HebbianUpdating, ForgettingAgent |
oc/server/server.hpp | oc::server | cogserver | CogServer, Shell, SchemeShell, RequestManager, ModuleManager |
oc/ure/ure.hpp | oc::ure | ure | Unifier, Substitution, Rule, RuleSet, ForwardChainer, BackwardChainer |
oc/pln/pln.hpp | oc::pln | pln | PLNReasoner, formulas (deduction, induction, abduction, revision, modus_ponens) |
oc/matrix/matrix.hpp | oc::matrix | matrix | PairAPI, Marginals, Similarity, MutualInformation, BatchSimilarity |
oc/persist/persist.hpp | oc::persist | atomspace-cog | Serializer, MemoryStorageNode, ProxyNode, FrameServer, CogChannel |