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:
A::value_type
value_type is the type of geovalue stored into the neighborhood.
A::iterator
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 |
a.find_neighbors(u)
Return type: | void | |
Semantics: | finds the neighbors of location u and stores them |
a.begin()
Return type: | I | |
Semantics: | returns an iterator to the first geo-value in the neighborhood |
a.end()
Return type: | I | |
Semantics: | returns an iterator to one past the last geo-value in the neighborhood |
a.size()
Return type: | unsigned int | |
Semantics: | returns the number of geo-values in the neighborhood |
a.empty()
Return type: | a type that is convertible to bool | |
Semantics: | returns ``true'' if the size of the neighborhood is 0 |