【文件属性】:
文件名称:ocaml-search:ocaml 的搜索算法库
文件大小:25KB
文件格式:ZIP
更新时间:2021-07-10 13:07:36
OCaml
ocaml-搜索
这是一个包含各种泛型搜索算法的 ocaml 库。
它可用于:
寻找路径
解谜
机器人决策
视频游戏机器人
...
可以通过多种方式配置搜索:
对特定问题的适应
两种搜索:图或树
不同的搜索策略:深度优先、广度优先、统一或 A*
汇编
$ git submodule init # to fetch another library
$ git submodule update # required by this one
$ make
用法
完整的文档在doc/libsearch/html/
1 - 定义问题的特定类型和值。
(* the type which represents the states *)
type state = ...
(* the initial state *)
let initital_stat
【文件预览】:
ocaml-search-master
----.gitmodules(94B)
----test()
--------test.ml(11B)
--------Makefile(130B)
----LICENSE(1KB)
----src()
--------search.ml(4KB)
--------search.mli(4KB)
----doc()
--------.gitignore(0B)
--------libsearch()
----lib()
--------OCaml-Lib()
----Makefile(467B)
----README.md(2KB)
----OCamlMakefile(35KB)