Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Small grammar edits #1076

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ end
# make a container for model-level properties
properties = Dict(:min_to_be_happy => 3)

# Create the central `AgentBasedModel` that stores all simution information
# Create the central `AgentBasedModel` that stores all simulation information
model = StandardABM(
Schelling, # type of agents
space; # space they live in
Expand Down
8 changes: 4 additions & 4 deletions src/spaces/continuous.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ An example using continuous space is the [Flocking model](@ref).
Distances specified by `r` in functions like [`nearby_ids`](@ref) are always based
on the Euclidean distance between two points in `ContinuousSpace`.

In `ContinuousSpace` `nearby_*` searches are accelerated using a grid system, see
discussion around the keyword `spacing` below. By default, `nearby_*` have keyword
`search` set to `:approximate`, which means that they doesn't do an exact search, but
can be a possible over-estimation, including agent IDs whose distance slightly exceeds
In `ContinuousSpace` `nearby_*` searches are accelerated using a grid system; see
discussion around the keyword `spacing` below. By default, `nearby_*` has the keyword
`search` set to `:approximate`, which means that it doesn't do an exact search, but
can be a possible overestimation, including agent IDs whose distance slightly exceeds
`r` with "slightly" being as much as `spacing`. If you want exact searches set the keyword
`search` to `:exact` in `nearby_*`.

Expand Down
Loading