Probable

trait Probable[E]

Type-class for extending a type that can act as a probable event

Type parameters:
E

the type that model the event

class Object
trait Matchable
class Any

Extensions

Extensions

extension (e: E)
def probability: Double

Method in which it's implemented the formula that express the probability of the interested event

Method in which it's implemented the formula that express the probability of the interested event