All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cogpunk.math.probability.ComparableEventProbabilityProfile Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
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);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy