CurryInfo: searchtree-unsafe-3.0.0 / Control.Search.SearchTree.Unsafe.idsStrategyWith

definition: Info
 
idsStrategyWith :: Int -> (Int -> Int) -> Strategy a
idsStrategyWith initdepth incrdepth st =
  iterIDS initdepth (collectInBounds 0 initdepth st)
 where
  iterIDS _ Nil = emptyVS
  iterIDS n (Cons x xs) = addVS x (iterIDS n xs)
  iterIDS n (FCons fd xs) = failVS fd |++| iterIDS n xs
  iterIDS n Abort = let newdepth = incrdepth n
                     in iterIDS newdepth (collectInBounds n newdepth st)
demand: Info
 argument 3
deterministic: Info
 deterministic operation
documentation: Info
 
Return all values in a search tree via iterative-deepening search.
The first argument is the initial depth bound and
the second argument is a function to increase the depth in each
iteration.
failfree: Info
 (_, _, _)
indeterministic: Info
 might be indeterministic
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_) |-> _}
name: Info
 idsStrategyWith
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Prelude.Int -> (Prelude.Int -> Prelude.Int) -> SearchTree a
-> Control.Search.SearchTree.ValueSequence a
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term