mirror of https://github.com/jlizier/jidt
26 lines
671 B
Java
Executable File
26 lines
671 B
Java
Executable File
package infodynamics.measures.continuous;
|
|
|
|
public interface EntropyCalculator {
|
|
|
|
/**
|
|
* Initialise the calculator using the existing or default value of calculator-specific parameters
|
|
*
|
|
*/
|
|
public void initialise() throws Exception;
|
|
|
|
public void setObservations(double observations[]);
|
|
|
|
public double computeAverageLocalOfObservations();
|
|
|
|
public void setDebug(boolean debug);
|
|
|
|
/**
|
|
* Allows the user to set properties for the underlying calculator implementation
|
|
*
|
|
* @param propertyName
|
|
* @param propertyValue
|
|
* @throws Exception
|
|
*/
|
|
public void setProperty(String propertyName, String propertyValue) throws Exception;
|
|
}
|