OpenCog Framework
Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
|
Classes | |
class | Block |
class | Level |
Variables | |
string | __author__ = 'keyvan-m-sadeghi' |
tuple | atomspace = AtomSpace() |
Created on 5 Jun, 2012 @author: keyvan Usage Instructions The following methods can be used for generating Sokoban atoms from a file/url: - add_socoban_level_to_atomspace_from_file - add_socoban_level_to_atomspace_from_url Use levels from http://www.sourcecode.se/sokoban/levels.php
|
private |
|
private |
def sokoban.add_socoban_level_to_atomspace_from_file | ( | atomspace, | |
file_path, | |||
level_index | |||
) |
Definition at line 21 of file sokoban.py.
References _add_globals_to_atomspace(), and generate_levels_from_file().
def sokoban.add_socoban_level_to_atomspace_from_url | ( | atomspace, | |
url, | |||
level_index | |||
) |
Url should point to 'http://www.sourcecode.se/sokoban/' database e.g. 'httpd://www.sourcecode.se/sokoban/dnldlevel.php?LevelFile=100Boxes.slc'
Definition at line 26 of file sokoban.py.
References _add_globals_to_atomspace(), and generate_levels_from_url().
def sokoban.generate_levels_from_file | ( | xml_file_path | ) |
Definition at line 45 of file sokoban.py.
References _generate_levels().
def sokoban.generate_levels_from_url | ( | url | ) |
Definition at line 48 of file sokoban.py.
References _generate_levels().
string sokoban.__author__ = 'keyvan-m-sadeghi' |
Definition at line 15 of file sokoban.py.
tuple sokoban.atomspace = AtomSpace() |
Definition at line 171 of file sokoban.py.