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
isValid
boolean isValid(Allocation alloc,
MADeMAgArch agArch)
throws FilterFunctionException
- Tests whether a certain allocation is valid within a given domain.
- Parameters:
alloc
- allocation being evaluatedagArch
- architecture of the MADeM agent
- Returns:
- true if the allocation is valid, false otherwise
- Throws:
FilterFunctionException
- when any error occurs