You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/dominated_cftp.jl
+91-15Lines changed: 91 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,60 @@
1
-
## Dominated Coupling From The Past (dCFTP)
2
-
# - [Kendall \& Moller's orginal formulation of dCFTP](https://www.researchgate.net/publication/ 2821877_Perfect_Metropolis-Hastings_simulation_of_locally_stable_point_processes)
3
-
# - Huber, Perfect Simulation
4
-
# - [Kendall's notes on perfect simulation](https://warwick.ac.uk/fac/sci/statistics/staff/ academic-research/kendall/personal/ppt/428.pdf)
5
-
#
6
-
# Requirement: the target spatial point process must have the following methods
7
-
# - function papangelou_conditional_intensity end
8
-
# - function upper_bound_papangelou_conditional_intensity end
9
-
# - function window end
1
+
"""
2
+
Implementation of dominated Coupling From The Past (dCFTP)
3
+
- [KeMo99](@cite) and [KeMo00](@cite) orginal formulation of dCFTP
4
+
- [Hub16](@cite)
5
+
- [Kendall's notes on perfect simulation](https://warwick.ac.uk/fac/sci/statistics/staff/ academic-research/kendall/personal/ppt/428.pdf)
6
+
"""
10
7
11
-
functiongenerate_sample_dcftp(
8
+
@docraw"""
9
+
papangelou_conditional_intensity(pp, x, X)
10
+
11
+
Compute the [Papangelou conditional intensity](https://en.wikipedia.org/wiki/Point_process#Papangelou_intensity_function) of the point process `pp`, as the ratio of densities ``\frac{f(X \cup x)}{f(X)}``.
0 commit comments