This commit is contained in:
Alex
2025-01-17 21:25:41 +00:00
parent 060b25222f
commit 0d5e1ec9f6
@@ -18,7 +18,7 @@ namespace Core.Utils.Collections;
* // count the elements which should be distributed according to the relative probabilities
* res.filter(x => x==="b").reduce((sum, x) => sum + 1 , 0)
*/
public class ProbabilityObjectArray<T, K, V> : List<ProbabilityObject<K, V?>> where T : ProbabilityObject<K,V>
public class ProbabilityObjectArray<T, K, V> : List<T> where T : ProbabilityObject<K,V>
{
private MathUtil _mathUtil;
private ICloner _cloner;