OpenCog Framework  Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
blending_agent_demo.py
Go to the documentation of this file.
1 __author__ = 'Keyvan'
2 
3 from blending.agents import DummyBlendingAgent
4 from opencog.atomspace import AtomSpace
5 from opencog.cogserver import Server
6 from load_scm_file import load_scm_file
7 
8 # Check if git shows the branch
9 if __name__ == '__main__':
10  server = Server()
11  server.add_mind_agent(DummyBlendingAgent())
12  a = AtomSpace()
13  load_scm_file(a, '../examples/bat_man.scm')
14  a.print_list()
15  server.run(a)
int load_scm_file(AtomSpace &as, const std::string &filename)
Definition: load-file.cc:46