Class SimpleTagResolver

  • All Implemented Interfaces:
    TagResolver

    public class SimpleTagResolver
    extends Object
    implements TagResolver
    A simple implementation of a tag resolver that only uses the tags assigned to the source area.
    Author:
    burgetr
    • Constructor Detail

      • SimpleTagResolver

        public SimpleTagResolver​(float minSupport)
    • Method Detail

      • getMinSupport

        public float getMinSupport()
      • setMinSupport

        public void setMinSupport​(float minSupport)
      • getAreaTags

        public Set<Tag> getAreaTags​(Area a)
        Description copied from interface: TagResolver
        Assigns a set of tags to a given area based on its properties. The actual way of tag assignment depends on the particular implementation.
        Specified by:
        getAreaTags in interface TagResolver
        Parameters:
        a - the area
        Returns:
        a set of tags assigned to this area by the resolver (may be empty)