bergsoe avatar bergsoe committed c960834

API docs.

Comments (0)

Files changed (1)

src/PaplTreeIndex.mli

   type node_t
 
   val create : unit -> t
+    (** Construct a new index.
+    *)
+
   val add : t -> node_t -> q_t -> node_t
+    (** [add index parent q] adds to the index a node that contains the value
+        [q] and has a link to the node [parent]. The function returns the
+        resulting node.
+    *)
+
   val add_root : t -> q_t -> node_t
+    (** [add_root index q] adds a root node containing the value [q] to the
+        index and returns the resulting node.
+    *)
+
   val connect : t -> q_t -> node_t option
+    (** [connect index q] searches the index for a node suitable for connecting
+        to the configuration [q]. The function returns [Some node] if such a
+        node is found and [None] otherwise.
+
+        The [connect] function does not necessarily verify that the motion from
+        [node] to [q] is indeed acceptable. The function only gives its opinion
+        about what node of the index is reasonable for such a connection.
+    *)
 end
 
 module type S = sig
     val get_mark : q_t -> PaplIndex.BruteForce.mark_t
   end
 
-  module EST : sig
+  module UnbiasedEST : sig
     module type SETUP = SETUP
     module type SETUP_DLT = SETUP_DLT
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.