`R/barrier_batch.R`

`calculate_barrier_2d_batch.Rd`

Calculate barrier from a 2D landscape with multiple simulations

```
calculate_barrier_2d_batch(
l,
bg = NULL,
start_location_value = 0,
start_r = 0.1,
end_location_value = 0.7,
end_r = 0.15,
base = exp(1)
)
```

- l
A

`2d_animation_landscape`

(not implemented yet) or a`2d_matrix_landscape`

.- bg
A

`barrier_grid_3d`

object if you want to use different parameters for each condition. Otherwise`NULL`

.- start_location_value, end_location_value
The initial position (in value) for searching the start/end point.

- start_r, end_r
The searching (L1) radius for searching the start/end point.

- base
The base of the log function.

A `barrier_2d_batch`

object that contains the batch barrier calculation results.