Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/advancedresearch/monotonic_solver
/ functions
Functions
33 in github.com/advancedresearch/monotonic_solver
⨍
Functions
33
◇
Types & classes
14
↓ 24 callers
Method
can_add
Returns `true` if new expression can be added to facts.
src/lib.rs:335
↓ 3 callers
Function
solve_with_accelerator
Solves without reducing.
src/lib.rs:342
↓ 2 callers
Function
infer
(solver: Solver<Expr>, story: &[Expr])
examples/hats.rs:117
↓ 2 callers
Method
is_sour
(&self)
examples/groceries.rs:47
↓ 2 callers
Method
likes
(&self, fruit: Fruit)
examples/groceries.rs:26
↓ 2 callers
Function
solve_and_reduce
Solves and reduces the proof to those steps that are necessary.
src/lib.rs:459
↓ 1 callers
Function
check
Checks a list of tests.
examples/hats.rs:270
↓ 1 callers
Method
is_bitter
(&self)
examples/groceries.rs:51
↓ 1 callers
Method
is_hat_free
Returns whether a hat is weared by anyone.
examples/hats.rs:87
↓ 1 callers
Method
is_sweet
(&self)
examples/groceries.rs:43
↓ 1 callers
Function
search
Searches for matches by a pattern. - `pat` specifies the map and acceptance criteria - `max_size` specifies the maximum size of proof Returns `Ok` i
src/lib.rs:556
↓ 1 callers
Function
search_with_accelerator
Searches for matches by a pattern. - `pat` specifies the map and acceptance criteria - `max_size` specifies the maximum size of proof Returns `Ok` i
src/lib.rs:478
↓ 1 callers
Method
shoots
(&self)
examples/drama.rs:70
↓ 1 callers
Function
solve
Solves without reducing.
src/lib.rs:400
↓ 1 callers
Function
solve_and_reduce_with_accelerator
Solves and reduces the proof to those steps that are necessary. Uses an accelerator constructor initalized from start and goal.
src/lib.rs:415
↓ 1 callers
Function
test
()
examples/hats.rs:290
↓ 1 callers
Method
update_worn
(&mut self)
examples/hats.rs:94
Function
alice_and_bob_tries_to_put_on_same_hat
()
examples/hats.rs:257
Function
bob_and_alice_wears_different_hats
()
examples/hats.rs:245
Method
fmt
(&self, fmt: &mut fmt::Formatter)
examples/drama.rs:43
Method
from
Converts from a number.
examples/hats.rs:43
Function
hats_colliding
()
examples/hats.rs:198
Function
infer
(solver: Solver<Expr>, story: &[Expr])
examples/groceries.rs:63
Function
infer
(solver: Solver<Expr>, story: &[Expr])
examples/drama.rs:162
Function
main
()
examples/groceries.rs:80
Function
main
()
examples/drama.rs:283
Function
main
()
examples/hats.rs:310
Method
male
(&self)
examples/drama.rs:34
Method
new
()
examples/hats.rs:79
Function
take_off_empty
()
examples/hats.rs:234
Function
take_off_wrong
()
examples/hats.rs:222
Function
take_on_off
()
examples/hats.rs:210
Function
trivial
()
examples/hats.rs:187