在计算机科学领域,“谓词”是什么意思? [英] What does 'predicate' mean in the context of computer science?

查看:305
本文介绍了在计算机科学领域,“谓词”是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我特别看到它在文本过滤的上下文中使用。

Specifically I've seen it used in the context of text filtering. As if "predicate" == "filter criteria".

这准确吗?

推荐答案

这是数学逻辑领域中最常用的术语。

It is a term most commonly used in the field of Mathematical Logic.

来自维基百科


在数学中,谓词可以是关系或布尔值函数等于这种关系的特征函数或指示符函数。

In mathematics, a predicate is either a relation or the boolean-valued function that amounts to the characteristic function or the indicator function of such a relation.

函数P:X→{true,false}被称为X的谓词。 P是X的谓词,有时我们说P是X的一个属性。

A function P: X→ {true, false} is called a predicate on X. When P is a predicate on X, we sometimes say P is a property of X.


谓词 ==过滤条件

"predicate" == "filter criteria"

这篇关于在计算机科学领域,“谓词”是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆