GALILEI Classes. More...

Classes

class  GAnalyzer
 Token Analyzer. More...
 
class  GClass
 Concepts Class. More...
 
class  GClasses
 Classes. More...
 
class  GCommunity
 Community. More...
 
class  GCommunityCalc
 Generic Community Computing Method. More...
 
class  GCommunityDocs
 
class  GComputeRank
 Generic Ranking Method. More...
 
class  GComputeSugs
 Generic Suggestions Computing Method. More...
 
class  GComputeTrust
 Generic Trust Computing Method. More...
 
class  GConcept
 Concept. More...
 
class  GConceptExtractor
 Concept Extractor. More...
 
class  GConceptExtractorData
 
class  GConceptNode
 Concept Node. More...
 
class  GConceptNodes
 Concept Node Container. More...
 
class  GConceptRecord
 Concept Record. More...
 
class  GConceptRecordIterator
 Concept Record Iterator. More...
 
class  GConceptRef
 Concept Reference. More...
 
class  GConceptTree
 Concepts Tree. More...
 
class  GConceptType
 
class  GDescription
 Description. More...
 
class  GDescriptionFilter
 
singleton  GDescriptionObject
 Generic Vector Object. More...
 
class  GDescriptionSet
 Description Set. More...
 
class  GDescriptionSetData
 Description Set Data. More...
 
class  GDoc
 Document. More...
 
class  GDocAnalyze
 
class  GDocFragment
 Document Fragment. More...
 
class  GDocFragmentRank
 Document Fragments Ranking. More...
 
class  GDocFragmentRanks
 Document Fragments Rankings. More...
 
class  GDocRef
 Document Reference. More...
 
class  GEngine
 Generic Search Engine. More...
 
class  GException
 Basic Exception. More...
 
class  GFdbk
 Feedback on a Document. More...
 
class  GFilter
 Generic Filter. More...
 
class  GFunction
 Functions. More...
 
class  GGALILEIApp
 Generic GALILEI Application. More...
 
class  GGALILEIPrg
 GALILEI Program. More...
 
singleton  GGroup
 Generic Group. More...
 
class  GGroupDocs
 Generic Documents Grouping Method. More...
 
class  GGroupProfiles
 Generic Profiles Grouping Method. More...
 
class  GKB
 Knowledge Base. More...
 
class  GLang
 Generic Language. More...
 
class  GLangFactory
 
class  GLinkCalc
 Generic Link Method. More...
 
class  GMatrixMeasure
 Matrix Measure. More...
 
class  GMeasure
 Measures. More...
 
class  GMetaEngine
 Meta-search Engine. More...
 
class  GObject
 Generic Object. More...
 
class  GObjectIndex
 Object Index. More...
 
class  GObjects
 Stored Objects. More...
 
class  GObjectSyntacticPos
 
class  GPlugIn
 Generic Plug-in. More...
 
class  GPlugInFactory
 Generic Plug-in Factory. More...
 
class  GPlugInList
 Plug-in List. More...
 
class  GPlugInManager
 Plug-in Manager. More...
 
class  GProfile
 Profile. More...
 
class  GProfileCalc
 Generic Profile Computing Method. More...
 
class  GSearchQuery
 Search Query. More...
 
class  GSearchQueryNode
 Search Query Node. More...
 
class  GSearchToken
 Search Token. More...
 
class  GSession
 Generic Session. More...
 
class  GSessionMsg
 Session Message. More...
 
class  GSimulator
 Subjects. More...
 
class  GSlot
 Generic Slot. More...
 
class  GSlotLog
 Log File Slot. More...
 
class  GStatement
 Statement. More...
 
class  GStorage
 Generic Storage Manager. More...
 
class  GSubject
 Subject. More...
 
class  GSubjectData
 
class  GSubjects
 Subjects. More...
 
class  GSugs
 Suggestions. More...
 
class  GToken
 Document Token. More...
 
class  GTokenizer
 Text Tokenizer. More...
 
class  GTokenOccur
 Token Occurrence. More...
 
class  GTool
 Generic Tool. More...
 
class  GTopic
 Topic. More...
 
class  GTopicCalc
 Generic Topic Computing Method. More...
 
class  GUser
 User. More...
 
class  GVector
 Concept Vector. More...
 
class  QGDescription
 Description Widget. More...
 
class  QGDocStruct
 Description Displayer. More...
 
class  QGMatrixMeasureDlg
 Configuration For Measures Between Two Elements. More...
 
class  QGObjectsList
 Objects List Widget. More...
 
class  QGObjectVars
 Object Information Widget. More...
 

Enumerations

enum  tObjType {
  otSession, otDoc, otUser, otProfile,
  otCommunity, otFdbk, otLang, otTopic,
  otSubject, otEngine, otEngineDoc, otConcept,
  otConceptType, otConceptCat, otStatement, otClass,
  otTree, otSuggestion, otDocRanking, otDescFile,
  otTreeFile, otIndexFile, otReference
}
 Object Type. More...
 
enum  tObjState { osOnDemand, osModified, osLatest }
 Object States. More...
 
enum  tObjEvent {
  oeAdded, oeModified, oeAboutToBeUpdated, oeUpdated,
  oeAboutToBeDeleted, oeSelected, oeDeselected, oeNbEvents
}
 Object Events. More...
 
enum  tConceptCat {
  ccToken =0, ccMetadata =1, ccStructure =2, ccLink =3,
  ccPredicate =4
}
 Concept Category. More...
 
enum  tTokenType {
  ttUnknown, ttDeleted, ttText, ttSemantic,
  ttDivision, ttMetadata, ttAttribute, ttLink
}
 Token Type. More...
 
enum  tFdbkType { ftUnknown, ftRelevant, ftFuzzyRelevant, ftIrrelevant }
 Feedback Type. More...
 
enum  tProfileType { ptUnknown, ptInterest, ptExpertise }
 Profile Type. More...
 
enum  tSubjectDesc { sdNames, sdDocs }
 Subject Description. More...
 
enum  tStatementElement { seSubject, sePredicate, seValue }
 Statement Element Types. More...
 
enum  tQueryOption { qoStems =0x1, qoKeywords =0x2, qoExpressions =0x4, qoReplace =0x8 }
 Query Options. More...
 

Functions

GDescription operator+ (const GDescription &arg1, const GDescription &arg2)
 
GDescription operator- (const GDescription &arg1, const GDescription &arg2)
 
GDescription operator* (const double arg1, const GDescription &arg2)
 
GDescription operator* (const GDescription &arg1, const double arg2)
 
GDescription operator/ (const GDescription &arg1, const double arg2)
 
GVector operator+ (const GVector &arg1, const GVector &arg2)
 
GVector operator- (const GVector &arg1, const GVector &arg2)
 
GVector operator* (const double arg1, const GVector &arg2)
 
GVector operator* (const GVector &arg1, const double arg2)
 
GVector operator/ (const GVector &arg1, const double arg2)
 
tObjType ObjType_cast (size_t objtype)
 
R::RString GetObjType (tObjType type, bool upper, bool plural)
 
R::RString GetState (tObjState state, bool upper)
 
R::RString GetEvent (tObjEvent event, bool upper)
 
size_t GetNbConceptCats (void)
 
tConceptCat ConceptCat_cast (size_t cat)
 
R::RString GetConceptCat (tConceptCat cat, bool upper, bool plural)
 
R::RString GetFdbkType (tFdbkType type, bool upper)
 
tFdbkType GetFdbkType (unsigned int type)
 
R::RString GetProfileType (tProfileType type, bool upper, bool plural)
 
tProfileType GetProfileType (unsigned int type)
 

Variables

const R::hNotification hDocs [oeNbEvents]
 Document Events. More...
 
const R::hNotification hTopics [oeNbEvents]
 
const R::hNotification hClasses [oeNbEvents]
 
const R::hNotification hUsers [oeNbEvents]
 
const R::hNotification hProfiles [oeNbEvents]
 
const R::hNotification hCommunities [oeNbEvents]
 
const R::hNotification hReInit
 
const R::hNotification hCurrentPlugIn
 
const GConceptpConcept
 
const GConceptTypepConceptType
 
const GDocpDoc
 
const GTopicpTopic
 
const GClasspClass
 
const GUserpUser
 
const GProfilepProfile
 
const GFdbkpFdbk
 
const GCommunitypCommunity
 
const GSubjectpSubject
 
const GStatementpStatement
 
GGALILEIAppGALILEIApp
 

Detailed Description

GALILEI Classes.

This namespace declares all the classes implemented during the GALILEI project.

Enumeration Type Documentation

enum tObjType

Object Type.

Types of GALILEI objects.

Enumerator
otSession 

GALILEI Session.

otDoc 

Document.

otUser 

User.

otProfile 

Profile.

otCommunity 

Community.

otFdbk 

Assessment of a document by a profile.

otLang 

Language.

otTopic 

Topic.

otSubject 

Subject (Theoretical topic of documents).

otEngine 

Search engine.

otEngineDoc 

Document proposed by a search engine.

otConcept 

Concept.

otConceptType 

Concept Type.

otConceptCat 

Concept Category.

otStatement 

Statement.

otClass 

Class.

otTree 

Concept Tree.

otSuggestion 

Suggestion.

otDocRanking 

Document ranking.

otDescFile 

Description file.

otTreeFile 

Concept tree file.

otIndexFile 

Index file.

otReference 

Reference.

enum tObjState

Object States.

States of a given GALILEI object.

Enumerator
osOnDemand 

Object demands information (from the disk).

osModified 

Object was modified and some computations must update it.

osLatest 

Object is in its latest possible state. This the case if no modification occurs since the last computation or allocation.

enum tObjEvent

Object Events.

Events that can be emitted concerning an object in GALILEI.

Enumerator
oeAdded 

A new object was added in the system. This message is not sent when an existing object is loaded and allocated in memory.

oeModified 

An object was modified and must be updated.

oeAboutToBeUpdated 

An object is about to be updated.

oeUpdated 

An object was updated.

oeAboutToBeDeleted 

An object is about to be deleted from the system (this message is not sent if an object is deallocated from the memory).

oeSelected 

An object was selected.

oeDeselected 

An object was deselected.

oeNbEvents 

Number of possible object events.

Concept Category.

The Tensor Space Model supposes that a fixed number of concept categories exists.

Enumerator
ccToken 
ccMetadata 
ccStructure 
ccLink 
ccPredicate 
enum tTokenType

Token Type.

During the document analysis process, the filters extract tokens from the documents. Different sort of tokens are currently managed.

Enumerator
ttUnknown 

Unknown type.

ttDeleted 

Deleted token.

ttText 

Textual token.

ttSemantic 

Semantic token (for example a XML tag).

ttDivision 

Document part, chapter, section, paragraph, etc.

ttMetadata 

Metadata token (for example author), the value being made of textual tokens.

ttAttribute 

Attribute token (for example a XML attribute).

ttLink 

Link token (for example an tag in HTML.

enum tFdbkType

Feedback Type.

Different types of feedbacks over a document.

Enumerator
ftUnknown 

Unknown feedback type.

ftRelevant 

Document is assessed as relevant.

ftFuzzyRelevant 

Document is assessed as fuzzy relevant.

ftIrrelevant 

Document is assessed as irrelevant.

Profile Type.

Different types of profiles.

Enumerator
ptUnknown 

Unknown profile type.

ptInterest 

Profile representing an interest of a user expressed through a set of feedbacks on documents.

ptExpertise 

Profile representing a particular expertise of a user.

Subject Description.

Descriptions for the subjects.

Enumerator
sdNames 

Names of the subjects are used.

sdDocs 

Selected documents are used.

Statement Element Types.

Each statement is a triple (subject,predicate,value).

Enumerator
seSubject 

Subject.

sePredicate 

Predicate.

seValue 

Value.

Query Options.

The tQueryOption enumerates how the entered keywords are treated. The value can be combined.

If, for example, you want to consider that the keywords must be used as search criteria and that the query should be expanded with their stems, the options to use is:

qoStem | qoKeywords
Enumerator
qoStems 
qoKeywords 

A query can be expanded using the stems as alternatives to the keywords. Let us suppose that the original query passed as argument is "connects & accepting" . If expanded with stems, the query applied will be "(connects | connect) & (accepting | accept)".

qoExpressions 

The keywords used in the query are used for the search as such. This can be useful if some keywords are names.

qoReplace 

Try to detect expressions that are not delimited by quotes by trying to combine different tokens linked by AND operators. For example, for a query defined as "genetic & algorithm", a verification is done to see if "genetic algorithm" is a valid concept.

Function Documentation

GDescription GALILEI::operator+ ( const GDescription &  arg1,
const GDescription &  arg2 
)

Addition operation for two descriptions.

Parameters
arg1First description.
arg2Second description.
GDescription GALILEI::operator- ( const GDescription &  arg1,
const GDescription &  arg2 
)

Subtraction operation for two descriptions.

Parameters
arg1First description.
arg2Second description.
GDescription GALILEI::operator* ( const double  arg1,
const GDescription &  arg2 
)

Multiplication operation for a description and a number.

Parameters
arg1Number.
arg2description.
GDescription GALILEI::operator* ( const GDescription &  arg1,
const double  arg2 
)

Multiplication operation for a description and a number.

Parameters
arg1description.
arg2Number.
GDescription GALILEI::operator/ ( const GDescription &  arg1,
const double  arg2 
)

Division operation for a description and a number.

Parameters
arg1description.
arg2Number.
GVector GALILEI::operator+ ( const GVector &  arg1,
const GVector &  arg2 
)

Addition operation for two vectors.

Parameters
arg1First vector.
arg2Second vector.
Warning
Only vectors associated with the same meta-concept can be added.
GVector GALILEI::operator- ( const GVector &  arg1,
const GVector &  arg2 
)

Subtraction operation for two vectors.

Parameters
arg1First vector.
arg2Second vector.
Warning
Only vectors associated with the same meta-concept can be subtracted.
GVector GALILEI::operator* ( const double  arg1,
const GVector &  arg2 
)

Multiplication operation for a vector and a number.

Parameters
arg1Number.
arg2Vector.
GVector GALILEI::operator* ( const GVector &  arg1,
const double  arg2 
)

Multiplication operation for a vector and a number.

Parameters
arg1Vector.
arg2Number.
GVector GALILEI::operator/ ( const GVector &  arg1,
const double  arg2 
)

Division operation for a vector and a number.

Parameters
arg1Vector.
arg2Number.
tObjType GALILEI::ObjType_cast ( size_t  objtype)

This function does a save cast from an integer to a object type. In particular, it generates an exception if the integer is not valid.

Parameters
objtypeInteger representing an object type.
Returns
a valid object type.
R::RString GALILEI::GetObjType ( tObjType  type,
bool  upper,
bool  plural 
)

Get a string representing a type of objects.

Parameters
typeType.
upperFirst letter in uppercase ?
pluralPlural ?
R::RString GALILEI::GetState ( tObjState  state,
bool  upper 
)

Get a string representing a state of objects.

Parameters
stateState.
upperFirst letter in uppercase ?
R::RString GALILEI::GetEvent ( tObjEvent  event,
bool  upper 
)

Get a string representing a event concerning an object.

Parameters
eventEvent.
upperFirst letter in uppercase ?
size_t GALILEI::GetNbConceptCats ( void  )
Returns
the number of concept categories.
tConceptCat GALILEI::ConceptCat_cast ( size_t  cat)

This function does a save cast from an integer to a concept category. In particular, it generates an exception if the integer is not valid.

Parameters
catInteger representing a category.
Returns
a valid concept category.
R::RString GALILEI::GetConceptCat ( tConceptCat  cat,
bool  upper,
bool  plural 
)

Get a string representing a category of concepts.

Parameters
catConcept category.
upperFirst letter in uppercase ?
pluralPlural ?
R::RString GALILEI::GetFdbkType ( tFdbkType  type,
bool  upper 
)
Returns
a string representing a feedback type.
Parameters
typeTYpe of the feedback.
upperFirst letter in uppercase ?
tFdbkType GALILEI::GetFdbkType ( unsigned int  type)

return a feedback type.

Parameters
typeFeedback type.
R::RString GALILEI::GetProfileType ( tProfileType  type,
bool  upper,
bool  plural 
)
Returns
a string representing a profile type.
Parameters
typeProfile type.
upperFirst letter in uppercase ?
pluralPlural ?
tProfileType GALILEI::GetProfileType ( unsigned int  type)

return a profile type.

Parameters
typeProfile type.

Variable Documentation

Document Events.

Array of different event handlers concerning a document:

  • DocAdded.
  • DocModified.
    • DocAboutToBeUpdated
  • DocUpdated.
  • DocAboutToBeDeleted.
  • DocSelected.
  • DocUnselected.

The events defined by the tObjEvent enumeration can be used as index.

const R::hNotification hTopics[oeNbEvents]

Array of different event handlers concerning a topic:

  • TopicAdded.
  • TopicModified.
    • TopicAboutToBeUpdated
  • TopicUpdated.
  • TopicAboutToBeDeleted.
  • TopicSelected.
  • TopicUnselected.

    The events defined by the tObjEvent enumeration can be used as index.

const R::hNotification hClasses[oeNbEvents]

Array of different event handlers concerning a class:

  • ClassAdded.
  • ClassModified.
    • ClassAboutToBeUpdated
  • ClassUpdated.
  • ClassAboutToBeDeleted.
  • ClassSelected.
  • ClassUnselected.

    The events defined by the tObjEvent enumeration can be used as index.

Array of different event handlers concerning a user:

  • UserAdded.
  • UserModified.
    • UserAboutToBeUpdated
  • UserUpdated.
  • UserAboutToBeDeleted.
  • UserSelected.
  • UserUnselected.

    The events defined by the tObjEvent enumeration can be used as index.

const R::hNotification hProfiles[oeNbEvents]

Array of different event handlers concerning a profile:

  • ProfileAdded.
  • ProfileModified.
    • ProfileAboutToBeUpdated
  • ProfileUpdated.
  • ProfileAboutToBeDeleted.
  • ProfileSelected.
  • ProfileUnselected.

    The events defined by the tObjEvent enumeration can be used as index.

const R::hNotification hCommunities[oeNbEvents]

Array of different event handlers concerning a community:

  • CommunityAdded.
  • CommunityModified.
    • CommunityAboutToBeUpdated
  • CommunityUpdated.
  • CommunityAboutToBeDeleted.
  • CommunitySelected.
  • CommunityUnselected.

    The events defined by the tObjEvent enumeration can be used as index.

const R::hNotification hReInit

Notification emitted by the session when it reinitialize some objects (the event is "SessionReInit"). When send, the notification has a parameter of the type GSessionMsg.

const R::hNotification hCurrentPlugIn

Notification emitted by the session when each time a plug-in is chosen as the current one for a lists (the event is "CurrentPlugIn").

const GConcept* pConcept

Null pointer for GConcept.

const GConceptType* pConceptType

Null pointer for GConceptType.

const GDoc* pDoc

Null pointer for GDoc.

const GTopic* pTopic

Null pointer for GTopic.

const GClass* pClass

Null pointer for GClass.

const GUser* pUser

Null pointer for GUser.

const GProfile* pProfile

Null pointer for GProfile.

const GFdbk* pFdbk

Null pointer for GFdbk.

const GCommunity* pCommunity

Null pointer for GCommunity.

const GSubject* pSubject

Null pointer for GSubject.

const GStatement* pStatement

Null pointer for GStatement.

GGALILEIApp* GALILEIApp

Pointer to the current application running a GALILEI session.