predicateとは? わかりやすく解説

Weblio 辞書 > 辞書・百科事典 > 日本語表現辞典 > predicateの意味・解説 

predicate

別表記:プレディケート

「predicate」とは、基礎とする・断定する述語のことを意味する英語表現である。

「predicate」の基本的な意味

「predicate」は他動詞場合基礎を置く・断定する含意するのことを意味する英語表現である。一方自動詞としては、断言するの意味を持つ。さらに名詞としての「predicate」の意味は、断定述部述語である。

「predicate」の活用一覧

動詞の「predicate」は、過去形過去分詞は「predicated」と表記し、現在分詞だと「predicating」となる。三人称単数現在は「predicates」となるが、名詞の「predicate」の複数形も「predicates」と表記するため区別する必要がある

「predicate」の語源

「predicate」は、接頭辞の「pre前もって)」と「dicate(指示する書きとらせる)」が組み合わさってできた英語表現である。前もって指示されというところから派生して基礎となるや断定するなどの意味使われている。

「predicate」の発音・読み方

「predicate」の発音記号は、「prédikət」である。カタカナ表記だと「プレディケートと書かれることが多いが、「プレェディィカァトゥ」と表記したほうが実際発音に近い。

「Predicate (Java)」とは

javac++などのプログラミングにおいて、「Predicate」は引数通して何かを判断する処理として使われている関数である。戻り値boolean型の処理をラムダ式で行うと、そこから変数代入して簡単に呼び出すことができる。最初にtestT t)にジェネリクス指定する型を引数として与えその後ラムダ式にはboolean返すために評価式を記述するという形で使用する

また「Predicate」はstaticメソッド3つのdeaultメソッドにわけて考えることができる。staticメソッドでは、オブジェクト等し場合のみtrue返され引数null場合null評価対象含めているとtrue返ってくる仕組みである。一方defaultメソッドには、and・or・negeteの3つがある。否定する仕組みそれぞれのメソッドごとに異なるため、状況に応じて使い分ける必要がある。「Predicate」のインターフェース中でもtextメソッド2つ引数を持つように特殊化されたものを「BiPredicate」と呼んでいる。

「predicate(Minecraft )」とは

Minecraftにおいて「predicate」とは、ルートテーブルの条件分離し特定の条件コマンド実行時使える状態にすることである。コンディションの中から1つ以上を選んで記述することで、JSONファイルの形でデータパックの中に保存できるさまざまなコンディション利用できるため、長くなったため整理したいタイミングなどで使われている。またJSONファイル形式保存されるため、色々なmcfunctionファイルか呼び出すことも可能である。

「predicate device」とは

「predicate device」とは、アメリカにおいて合法的に市販されている医療機器製品を示す言葉である。論文発表され新規医療機器は、「510(k)申請」が使用されている場合が多い。この「510(k)申請」とは、合法的に市販されている医療機器製品である「predicate device」とは異なるけれど、申請することによって実質的に「predicate device」と同等であることを示すことが求められるもののことを示している。

「predicate」を含む英熟語・英語表現

「predicate nominative」とは


「predicate nominative」とは、「述語主格」や「主格述語名詞」と呼ばれるものことを示している。また「predicate noun」と表記する場合もある。さらに「predicate adjective述語形容詞)」、「predicate adverb述語副詞)」、「predicate nominal叙述名詞形)」、「predicate verb述語動詞)」などの表現もある。

「predicate」の使い方・例文

「predicate」の使い方には、以下のような例文あげられる
It is possible to predicate that people do not reincarnate?
人が転生しないと断言できるのか?
・She confidently predicated that his theory was correct.
彼女は自信満々彼の説が正しいと断言した
・His opinion is predicated upon his own experience.
彼の意見は彼自身経験基づいている。
・This article is predicated upon the notion that the aging of society will accelerate.
その記事社会の高齢化加速していくという考え基づいている。
・The new approach to the issue is predicated on a theory of language acquisition.
その問題新しい研究方法言語習得理論基礎置いている。
・I learned what a predicate nominative is in my English class.
英語の授業述語名詞とは何か学んだ
This is an elements which consists of a sentence named predicate.
これは述語という文の構成部分である。
・A sentence consists of a subject and a predicate.
文章主語述語から成り立っている。

Predicate ジェネリック デリゲート

メモ : このデリゲートは、.NET Framework version 2.0新しく追加されたものです。

一連の基準定義し指定されオブジェクトがこれらの基準満たしているかどうか判断するメソッド表します

名前空間: System
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

解説解説
使用例使用例

Predicate デリゲートと Array.Find メソッド使用してPoint 構造体配列検索するコード例次に示します。X フィールドと Y フィールドの積が 100,000超える場合は、デリゲートが表す ProductGT10 メソッドから true返りますFind メソッドでは、配列各要素に対してデリゲート呼び出されテスト条件を満たす最初ポイント停止します

メモメモ

Visual BasicC#ユーザーは、デリゲート明示的に作成する要はありません。また、ジェネリック メソッド型引数指定する必要もありません。コンパイラでは、指定するメソッド引数から必要な型を判断します

Imports System
Imports System.Drawing

Public Class Example

    Public Shared Sub Main()

        ' Create an array of five Point structures.
        Dim points() As Point = { new
 Point(100, 200), _
            new Point(150, 250), new Point(250,
 375), _
            new Point(275, 395), new Point(295,
 450) }

        ' To find the first Point structure for which X times Y 
        ' is greater than 100000, pass the array and a delegate 
        ' that represents the ProductGT10 method to the Shared
        ' Find method of the Array class.
        Dim first As Point = Array.Find(points,
 _
            AddressOf ProductGT10)

        ' Note that you do not need to create the delegate 
        ' explicitly, or to specify the type parameter of the 
        ' generic method, because the compiler has enough
        ' context to determine that information for you.

        ' Display the first structure found.
        Console.WriteLine("Found: X = {0}, Y = {1}",
 _
            first.X, first.Y)
    End Sub

    ' This method implements the test condition for the Find
    ' method.
    Private Shared Function
 ProductGT10(ByVal p As Point) As
 Boolean
        If p.X * p.Y > 100000 Then
            Return True
        Else
            Return False
        End If
    End Function
End Class

' This code example produces the following output:
'
'Found: X = 275, Y = 395
using System;
using System.Drawing;

public class Example
{
    public static void Main()
    {
        // Create an array of five Point structures.
        Point[] points = { new Point(100, 200), 
            new Point(150, 250), new Point(250,
 375), 
            new Point(275, 395), new Point(295,
 450) };

        // To find the first Point structure for which X times Y 
        // is greater than 100000, pass the array and a delegate
        // that represents the ProductGT10 method to the Shared 
        // Find method of the Array class. 
        Point first = Array.Find(points, ProductGT10);

        // Note that you do not need to create the delegate 
        // explicitly, or to specify the type parameter of the 
        // generic method, because the C# compiler has enough
        // context to determine that information for you.

        // Display the first structure found.
        Console.WriteLine("Found: X = {0}, Y = {1}", first.X, first.Y);
    }

    // This method implements the test condition for the Find
    // method.
    private static bool
 ProductGT10(Point p)
    {
        if (p.X * p.Y > 100000)
        {
            return true;
        }
        else
        {
            return false;
        }
    }
}

/* This code example produces the following output:

Found: X = 275, Y = 395
 */
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「predicate」の関連用語

predicateのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



predicateのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
実用日本語表現辞典実用日本語表現辞典
Copyright © 2024実用日本語表現辞典 All Rights Reserved.
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS