Skip to content

Commit

Permalink
minor revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoladicicco authored and Azzaare committed Aug 7, 2024
1 parent 3485fd1 commit 76889b3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions docs/src/constraints/constraint_commons.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ at_end

## Extensions

We extended some operations for `Nothing` and `Symbol`.
We extend some operations for `Nothing` and `Symbol`.

```@docs; canonical=false
symcon
Expand Down Expand Up @@ -89,7 +89,7 @@ consisempty

## Sampling

During our constraint learning processes, we use sampling to efficiently make partial exploration of search spaces. Follows some sampling utilities.
During our constraint learning processes, we use sampling to efficiently make partial exploration of search spaces. The following are some examples of sampling utilities.

```@docs; canonical=false
oversample
Expand All @@ -112,18 +112,18 @@ We need to compute the difference between extrema of various kind of collections
δ_extrema
```

### Performances

```@raw html
<div style="display: flex; justify-content: space-between;">
<img src="https://github.com/JuliaConstraints/Benchmarks/blob/main/ConstraintCommons/visuals/bench_evolution_extrema.png?raw=true" alt="Bench Evolution" style="width:48%;"/>
<img src="https://github.com/JuliaConstraints/Benchmarks/blob/main/ConstraintCommons/visuals/chair_evolution_extrema.png?raw=true" alt="Chair Evolution" style="width:48%;"/>
</div>
```

### Performances

## Dictionaries

We provide the everuseful `incsert!` function for dictionaries.
We provide the ever-useful `incsert!` function for dictionaries.

```@docs; canonical=false
incsert!
Expand All @@ -136,4 +136,4 @@ incsert!
<img src="https://github.com/JuliaConstraints/Benchmarks/blob/main/ConstraintCommons/visuals/bench_evolution_dictionaries.png?raw=true" alt="Bench Evolution" style="width:48%;"/>
<img src="https://github.com/JuliaConstraints/Benchmarks/blob/main/ConstraintCommons/visuals/chair_evolution_dictionaries.png?raw=true" alt="Chair Evolution" style="width:48%;"/>
</div>
```
```
2 changes: 1 addition & 1 deletion docs/src/constraints/generic_constraints.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Note that the *intention* constraint is not directly available through the JC-AP

We provide a straightforward example through the `:dist_different` constraint on how to define and add such a constraint in the `USUAL_CONSTRAINTS` collection.

Higher level modeling language such as `JuMP` should provide a `Intention` interface.
Higher level modeling languages such as `JuMP` should provide a `Intention` interface.

### Defining an intention constraint in JC-API

Expand Down
2 changes: 1 addition & 1 deletion docs/src/constraints/variables_and_domains.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ MOI.add_constraint(optimizer, v4, CBLS.DiscreteSet([1, 42, 3.14]))

### `RangeDomain`

A range domain allows for minimal storage and more efficient operation on discrete sets defined as `Range` in Julia. It is not recommended for dynamic domains (it will be replaced with `SetDomain` as soon non-extremal element is removed).
A range domain allows for minimal storage and more efficient operation on discrete sets defined as `Range` in Julia. It is not recommended for dynamic domains (it will be replaced with `SetDomain` as soon as a non-extremal element is removed).

::: code-group

Expand Down

0 comments on commit 76889b3

Please sign in to comment.