import { ProbabilityObjectArray } from "https://deno.land/x/sptaki@1.2.0/utils/mod.ts";
Get the relative probability of an element by its key
Example: po = new ProbabilityObjectArray(new ProbabilityObject("a", 5), new ProbabilityObject("b", 1)) po.maxProbability() // returns 5