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

zhao.algorithmMagic.utils.Event Maven / Gradle / Ivy

There is a newer version: 1.42
Show newest version
package zhao.algorithmMagic.utils;

import zhao.algorithmMagic.operands.table.Cell;

/**
 * 事件函数接口,该事件用于概率等操作,在概率中,可通过该函数得出符合事件的对象数值,然后利用该数值对序列中所有数值的数量进行作商,也是计算概率时候的随机变量。
 * 

* Event function interface, the event is used for operations such as probability. In probability, the value of the object that matches the event can be obtained through this function, and then the number of all values in the sequence can be used to quotient, which is also a random variable when calculating probability. . * * @param 判断是否符合事件的数据类型 *

* Determine if it matches the data type of the event */ public interface Event { /** * 过滤数值类型为数值的单元格对象。 */ Event> NUM_TRUE = Cell::isNumber; boolean isComplianceEvents(value v); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy