Liking cljdoc? Tell your friends :D

state-space.internal.options

Checks the options of the public operations when they are called, and resolves them into the configuration used by the traversal engines.

Checks the options of the public operations when they are called, and
resolves them into the configuration used by the traversal engines.
raw docstring

best-first-keysclj

source

check-startsclj

(check-starts caller starts)

Starting states come as a collection, also when there is only one.

Starting states come as a collection, also when there is only one.
sourceraw docstring

failclj

(fail caller message data)

Throws an ExceptionInfo naming the public function that was called.

Throws an ExceptionInfo naming the public function that was called.
sourceraw docstring

merge-fieldsclj

(merge-fields caller option visit fields)

Adds the fields a callback returned to a visit. option names the option the callback belongs to.

Adds the fields a callback returned to a visit. option names the option
the callback belongs to.
sourceraw docstring

postorder-keysclj

source

prepareclj

(prepare caller
         {:keys [project expand? decode-edge visit-key dedupe extensions]
          :as options})

Resolves validated options into the configuration shared by the engines:

:project :expand? :decode-edge callbacks with their defaults applied :initialize starting state -> visit :prepare-visit parent visit, transition -> candidate visit :global-key visit -> key, when each key is visited once per search :refine parent, candidate -> candidate or nil, when a key may occur once per path

Other options pass through unchanged.

Resolves validated options into the configuration shared by the engines:

  :project :expand? :decode-edge   callbacks with their defaults applied
  :initialize     starting state -> visit
  :prepare-visit  parent visit, transition -> candidate visit
  :global-key     visit -> key, when each key is visited once per search
  :refine         parent, candidate -> candidate or nil, when a key may
                  occur once per path

Other options pass through unchanged.
sourceraw docstring

preserve-stateclj

(preserve-state caller option state visit)

Returns the visit, checking that callbacks left its state alone.

Returns the visit, checking that callbacks left its state alone.
sourceraw docstring

propagate-keysclj

source

search-keysclj

source

validateclj

(validate caller allowed options)

Checks options against the keys an operation supports. Returns them as a map without nil values, so nil means the same as leaving an option out.

Checks options against the keys an operation supports. Returns them as a
map without nil values, so nil means the same as leaving an option out.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close