Skip to main content

%iKnow.Classification.Methods.rules

Class %iKnow.Classification.Methods.rules Extends Base [ Deprecated, System = 4 ]

Properties

ClassificationRules

Property ClassificationRules As %iKnow.Classification.Definition.ClassificationRules;

Methods

%OnNew

Method %OnNew(pBuilder As %iKnow.Classification.Builder) As %Status

%LoadFromModel

Method %LoadFromModel(pDefinition As %iKnow.Classification.Definition.Classifier) As %Status

%BuildClassificationMethod

Method %BuildClassificationMethod(ByRef pClassifier As %iKnow.Classification.Definition.Classifier, pVerbose As %Boolean = 1, pIncludeBuilderParams As %Boolean = 1) As %Status

%GenerateRules

Method %GenerateRules() As %Status

Generate a default rule set. Note: this will be a simple, first set of draft rules, not an optimized set!

%OnRemoveTerm

Method %OnRemoveTerm(pIndex As %Integer) As %Status

Callback invoked whenever an entire term at an index has been removed

UpdateTermReferences

Method UpdateTermReferences(pPredicate As %iKnow.Classification.Definition.PredicateBase, pIndex As %Integer, pParent, pParentPosition As %Integer) As %Status [ Private ]