Artificial Intelligence
Artificial Intelligence
Information

KnowledgeBase(int) constructor


      Initializes a new instance of the class KnowledgeBase with the initialization of the specified capacity.


Namespace : ielib
Assembly : ielib.dll

public KnowledgeBase(int iCapacity)

Parameters

Type : System.Int32

iCapacity: The number of elements that the new database can initially store.

      Example: Instantiate an object of class KnowledgeBase, and restore the base of knowledge from an XML file.


KnowledgeBase kb = new KnowledgeBase(1000);

kb.LoadFrom("kbase.xml");