|
| GClass (GSession *session, const R::RString &name) |
|
| GClass (GSession *session, size_t id, size_t blockid, const R::RString &name, const R::RDate &c) |
|
virtual R::RCString | GetClassName (void) const |
|
int | Compare (const GClass &theclass) const |
|
R::RDate | GetComputed (void) const |
|
void | Update (GDescription &desc) |
|
virtual double | GetUpOperationCost (void) const |
|
virtual | ~GClass (void) |
|
| GDescriptionObject (GSession *session, size_t id, size_t blockid, tObjType objtype, const R::RString &name) |
|
void | ReleaseVectors (void) |
|
const GDescription & | operator() (void) const |
|
R::RConstCursor< GVector > | GetVectors (void) const |
|
const GVector * | GetVector (GConcept *metaconcept) const |
|
bool | IsIn (const GConcept *concept) const |
|
bool | IsDefined (void) const |
|
tObjState | GetState (void) const |
|
size_t | GetId (void) const |
|
size_t | GetBlockId (void) const |
|
virtual | ~GDescriptionObject (void) |
|
| GObject (GSession *session, size_t id, const R::RString &name, tObjType type) |
|
| GObject (const GObject &obj) |
|
void | VerifyStatements (tStatementElement what, size_t size) |
|
int | Compare (const GObject &obj) const |
|
int | Compare (size_t id) const |
|
int | Search (const GObject &obj) const |
|
int | Search (const R::RString &name) const |
|
GSession * | GetSession (void) const |
|
size_t | GetId (void) const |
|
void | SetId (size_t id) |
|
tObjType | GetObjType (void) const |
|
R::RCursor< GStatement > | GetObjs (const GStatement *obj, tStatementElement what) |
|
virtual void | HandlerNotFound (const R::RNotification ¬ification) |
|
virtual | ~GObject (void) |
|
| RObject (const RString &name=RString::Null) |
|
int | Compare (const RObject &obj) const |
|
RString | GetName (void) const |
|
void | PostNotification (const hNotification handle) |
|
void | PostNotification (const RCString &name) |
|
void | PostNotification (const hNotification handle, T data) |
|
void | PostNotification (const RCString &name, T data) |
|
void | InsertObserver (tNotificationHandler handler, const hNotification handle, RObject *object) |
|
void | InsertObserver (tNotificationHandler handler, const RCString &name, RObject *object) |
|
void | InsertObserver (tNotificationHandler handler, const hNotification handle) |
|
void | InsertObserver (tNotificationHandler handler, const RCString &name) |
|
void | InsertObserver (tNotificationHandler handler, RObject *object) |
|
void | InsertObserver (tNotificationHandler handler) |
|
void | DeleteObserver (void) |
|
void | DeleteObserver (const hNotification handle, RObject *object) |
|
void | DeleteObserver (const RCString &name, RObject *object) |
|
hNotification | GetNotificationHandle (const RCString &name) const |
|
RCString | GetNotificationName (const hNotification handle) const |
|
virtual | ~RObject (void) |
|
Concepts Class.
The GClass provides a representation for a group of concepts. All the classes are part of tree.
virtual double GetUpOperationCost |
( |
void |
| ) |
const |
|
virtual |
Get the cost of an Up operation of the current node. The method adds a cost computed for each vector. The cost of one vector is :
- The number of concept references if the class has no parent.
- The difference of the number of concept references between the parent and the current class.
In their paper TreeRank: A Similarity Measure for Nearest Neighbor Searching in Phylogenetic Databases, Wang, Shan, Shasha and Piel define the up operation as the operation that moves a token from one node to its parent.
- Returns
- Cost of the up operation.