es.ants.felixgm.trmsim_wsn.satisfaction
Interface Satisfaction

All Known Implementing Classes:
SatisfactionBinary, SatisfactionDiscreteScale, SatisfactionFuzzy, SatisfactionInterval

public interface Satisfaction

This interface models the root of a hierarchy of different representations (fuzzy sets, real numbers, binary values, etc) of the satisfaction a sensor acting as a client has with the received service from a sensor acting as a server

Since:
0.2
Version:
0.4
Author:
Félix Gómez Mármol, Gregorio Martínez Pérez

Method Summary
 Satisfaction aggregate(Satisfaction satisfaction)
          This method aggregates this satisfaction with the given one
 boolean isSatisfied()
          This method indicates if this Satisfaction object represents a satisfactory or unsatisfactory transaction
 

Method Detail

isSatisfied

boolean isSatisfied()
This method indicates if this Satisfaction object represents a satisfactory or unsatisfactory transaction

Returns:
true if this Satisfaction object represents a satisfactory transaction, false otherwise

aggregate

Satisfaction aggregate(Satisfaction satisfaction)
This method aggregates this satisfaction with the given one

Parameters:
satisfaction - Satisfaction to be aggregated with this satisfaction
Returns:
The aggregation of this satisfaction with the given one