In geostatistics two types of neighborhoods are often used: elliptical neighborhoods and window (or template) neighborhoods. An elliptical neighborhood is a neighborhood for which f (,) = true if v is inside a given ellipsoid centered on u. A window neighborhood, is defined by a set of vectors ,..., and:
value_type is the type of geovalue stored into the neighborhood.
A neighborhood iterator is a model of Forward Iterator (see previous description). It is an iterator that returns a geo-value when dereferenced, and supports operator = (assignment), operator ++ (increment), operator * (dereference) and operator != (comparison).
|A||A type that is a model of Neighborhood|
|a||Object of type A|
|I||A type the is a model of Forward Iterator|
|u||An object of a type that models Location|
|Semantics:||finds the neighbors of location u and stores them|
|Semantics:||returns an iterator to the first geo-value in the neighborhood|
|Semantics:||returns an iterator to one past the last geo-value in the neighborhood|
|Return type:||unsigned int|
|Semantics:||returns the number of geo-values in the neighborhood|
|Return type:||a type that is convertible to bool|
|Semantics:||returns ``true'' if the size of the neighborhood is 0|