@@ -17,35 +17,35 @@ Tells whether or not the spatial point process `p` is homogeneous.
1717ishomogeneous (p:: PointProcess ) =  false 
1818
1919""" 
20-     rand(p, r , n=1; [algo]) 
20+     rand(p, g , n=1; [algo]) 
2121
2222Generate `n` realizations of spatial point process `p` 
23- inside spatial region `r `. Optionally specify sampling 
23+ inside geometry `g `. Optionally specify sampling 
2424algorithm `algo`. 
2525""" 
26- Base. rand (p:: PointProcess , r :: AbstractGeometry , n:: Int ;
26+ Base. rand (p:: PointProcess , g :: Geometry , n:: Int ;
2727          algo= default_sampling_algorithm (p)) = 
28-   [rand_single (p, r , algo) for  i in  1 : n]
28+   [rand_single (p, g , algo) for  i in  1 : n]
2929
30- Base. rand (p:: PointProcess , r :: AbstractGeometry ;
30+ Base. rand (p:: PointProcess , g :: Geometry ;
3131          algo= default_sampling_algorithm (p)) = 
32-   rand_single (p, r , algo)
32+   rand_single (p, g , algo)
3333
3434""" 
35-     rand_single(p, r , algo) 
35+     rand_single(p, g , algo) 
3636
3737Generate a single realization of spatial point process 
38- `p` inside spatial region `r ` with sampling `algo`. 
38+ `p` inside geometry `g ` with sampling `algo`. 
3939""" 
40- rand_single (p :: PointProcess , r :: AbstractGeometry , algo) = 
40+ rand_single (:: PointProcess , :: Geometry , algo) = 
4141  @error  " not implemented" 
4242
4343""" 
4444    default_sampling_algorithm(p) 
4545
4646Default sampling algorithm for spatial point process `p`. 
4747""" 
48- default_sampling_algorithm (p :: PointProcess ) =  @error  " not implemented" 
48+ default_sampling_algorithm (:: PointProcess ) =  @error  " not implemented" 
4949
5050""" 
5151    p₁ ∪ p₂ 
@@ -59,4 +59,4 @@ Base.union(p₁::PointProcess, p₂::PointProcess) = UnionProcess(p₁, p₂)
5959# -----------------
6060include (" processes/binomial.jl"  )
6161include (" processes/poisson.jl"  )
62- include (" processes/union.jl"  )
62+ include (" processes/union.jl"  )
0 commit comments