From e650df617d13da19faa66688d4b6c029d0af899b Mon Sep 17 00:00:00 2001 From: pszufe Date: Fri, 13 Oct 2023 16:05:45 +0200 Subject: [PATCH] correct --- src/poi.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/poi.jl b/src/poi.jl index c5426bb..199c0ee 100644 --- a/src/poi.jl +++ b/src/poi.jl @@ -31,19 +31,22 @@ end Default group for AttractivenessMetaPOI which is `a.group`. """ -get_attractiveness_group(a::AttractivenessMetaPOI) = +get_attractiveness_group(a::AttractivenessMetaPOI) = a.group + """ get_attractiveness_range(a::AttractivenessMetaPOI) Default range for AttractivenessMetaPOI whic is the `a.range`. """ get_attractiveness_range(a::AttractivenessMetaPOI) = a.range + """ get_attractiveness_group(a::NoneMetaPOI) Default group for NoneMetaPOI (`NoneMetaPOI`). """ get_attractiveness_group(a::NoneMetaPOI) = :NoneMetaPOI + """ get_attractiveness_range(a::MetaPOI) You can create own subtypes of `MetaPOI` but than range needs to be provided.