FactConsultTopicclassfacts.t[762]

A FactConsultTopic can be used to generate an automated response to a potentially wide range of queries directed to the associated Consultable, provided that the Consultable in question has been listed in the various relevant facts' initiallyKnownBy list (or subquently added to its informedNameTab if the Consultable is updatable). A DefaultFactConsultTopic can also act like a regular DefaultConsultTopic when its Consultable has no facts corresponding to the topic that's just been looked up.

class FactConsultTopic :   FactHelper   ConsultTopic

Superclass Tree   (in declaration order)

FactConsultTopic
        FactHelper
                object
        ConsultTopic
                TopicEntry
                        object

Subclass Tree  

(none)

Global Objects  

(none)

Summary of Properties  

matchScore  noFactsMsg  prefix 

Inherited from FactHelper :
addLineBreaks  factIntro  knewFactAlreadyMsg  listSources  matchObj  noteContradictions  suffix  tagList  updateSources 

Inherited from ConsultTopic :
includeInList 

Inherited from TopicEntry :
active  getActor  isActive  matchExactCase  matchPattern  narrator  scoreBoost  topicMatched 

Summary of Methods  

Inherited from FactHelper :
alreadyKnewMsg  getFacts  topicResponse 

Inherited from TopicEntry :
addTopic  factText  informFact  initializeTopicEntry  matchTopic  qualifiedDesc  revealFact  scoreBooster 

Properties  

matchScoreOVERRIDDENfacts.t[770]

We give a FactConsultTopic a matchScore of 50 since it's not a mere DefaultConsultTopic that always gives a generic response to the effect that the Consultable has no useful information on every topic the DefaultTopic attempts to handle, but on the other hand we want it to defer to any regular ConsultTopic that gives a more tailored response to a particular topic or topics.

noFactsMsgOVERRIDDENfacts.t[773]
no description available

prefixOVERRIDDENfacts.t[772]
no description available

Methods  

(none)

Adv3Lite Library Reference Manual
Generated on 25/04/2024 from adv3Lite version 2.0