jmadem

## Interface FilterFunctionInt

-     public interface FilterFunctionInt

  Interface for the filter functions invoked by MADeM agents when constructing allocations. The code of every filter function must implement this interface.
  Author:
    Francisco Grimaldo

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `doFilter(Term alloc, MADeMAgArch agArch)` Tests whether a certain allocation should be filtered out within a given domain.

- - ### Method Detail

    - #### doFilter

          boolean doFilter(Term alloc,
                         MADeMAgArch agArch)
                           throws FilterFunctionException

      Tests whether a certain allocation should be filtered out within a given domain.
      Parameters:
        `alloc` - allocation being evaluated
        `agArch` - architecture of the MADeM agent
      Returns:
        `true` if the allocation has to be filtered out, `false` otherwise
      Throws:
        `FilterFunctionException` - when any error occurs