com.cogpunk.math.probability.ComparableEventProbabilityProfile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cogpunk-math Show documentation
Show all versions of cogpunk-math Show documentation
A set of mathematical utilities
package com.cogpunk.math.probability;
public interface ComparableEventProbabilityProfile,P extends Number> extends EventProbabilityProfile {
/**
* @param target The target to compare to
* @return The probability of the event being greater than or equal to the supplied event
*/
public P getProbabilityGreaterThanOrEqualTo(E target) ;
/**
* @param target The target to compare to
* @return The probability of the event being less than or equal to the supplied event
*/
public P getProbabilityLessThanOrEqualTo(E target);
/**
* @param target The target to compare to
* @return The probability of the event being greater than the supplied event
*/
public P getProbabilityGreaterThan(E target);
/**
* @param target The target to compare to
* @return The probability of the event being less than the supplied event
*/
public P getProbabilityLessThan(E target);
public int hashCode();
public boolean equals(Object obj);
}