This commit is contained in:
2021-04-06 00:45:28 +02:00
commit 17fabc368e
836 changed files with 3042963 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
package org.fog.application.selectivity;
/**
* Class representing the input-output relationships of application modules.
* @author Harshit Gupta
*
*/
public interface SelectivityModel {
/**
* Function called to check whether incoming tuple can generate an output tuple.
* @return true if a tuple can be emitted (selection possible)
*/
public boolean canSelect();
/**
* Average number of tuples generated per incoming input tuple.
* @return avg tuple generation rate
*/
public double getMeanRate();
/**
* Maximum number of tuples generated per incoming input tuple.
* @return max tuple generation rate
*/
public double getMaxRate();
}