Artificial Intelligence
Artificial Intelligence
Information

Rule.GetPremiseById(int) method


      Gets an object of the class Premise by the ID which it contains.


Namespace : ielib
Assembly : ielib.dll

public Premise GetPremiseById(int Id)

Parameters

Type : System.Int32.

Id : represents the ID of a fact.

Return value

Type : ielib.Premise

Represents an object of the class Premise. If identifies it a fact is not found then the null value will be sent.


      Note: The identifier of a fact is distributed by the class FactsBase when KnowledgeBase.Add (Fact) method is used to add a fact in the knowledge base. It gets the identifier of a fact by the Fact.Id property.