mirror of
https://github.com/ellmau/adf-obdd.git
synced 2025-12-19 09:29:36 +01:00
Fix broken links in rust-doc
This commit is contained in:
parent
6215573925
commit
ea1043620a
@ -161,10 +161,10 @@ for model in adf.complete() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Using the [`NoGood`]-learner approach, together with the [`crossbeam-channel`] implementation
|
### Using the [`NoGood`][crate::nogoods::NoGood]-learner approach, together with the [`crossbeam-channel`] implementation
|
||||||
This can be used to have a worker and a consumer thread to print the results as they are computed.
|
This can be used to have a worker and a consumer thread to print the results as they are computed.
|
||||||
Please note that the [`NoGood`]-learner needs a heuristics function to work.
|
Please note that the [`NoGood`][crate::nogoods::NoGood]-learner needs a heuristics function to work.
|
||||||
The enum [`Heuristic`][adf_bdd::adf::heuristics::Heuristic] allows one to choose a pre-defined heuristic, or implement a `Custom` one.
|
The enum [`Heuristic`][crate::adf::heuristics::Heuristic] allows one to choose a pre-defined heuristic, or implement a `Custom` one.
|
||||||
```rust
|
```rust
|
||||||
use adf_bdd::parser::AdfParser;
|
use adf_bdd::parser::AdfParser;
|
||||||
use adf_bdd::adf::Adf;
|
use adf_bdd::adf::Adf;
|
||||||
|
|||||||
@ -245,7 +245,7 @@ impl NoGoodStore {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Draws a (Conclusion)[NoGood], based on the [NoGoodstore] and the given [NoGood].
|
/// Draws a (Conclusion)[NoGood], based on the [NoGoodStore] and the given [NoGood].
|
||||||
/// *Returns* [None] if there is a conflict
|
/// *Returns* [None] if there is a conflict
|
||||||
pub fn conclusions(&self, nogood: &NoGood) -> Option<NoGood> {
|
pub fn conclusions(&self, nogood: &NoGood) -> Option<NoGood> {
|
||||||
let mut result = nogood.clone();
|
let mut result = nogood.clone();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user