org.tm4j.panckoucke.impl.abstraction .RoleTypePlayerCountClassifier
Description
This classifier organizes associations, roles and players on up to six levels.
All associations where the given Topic t0 plays a role in, are taken into account.
The classification process is divided into three steps;
In the first step, the associations are grouped under the role that t0 plays.
This step contribute the first level to the resulting tree.
In the second step, the associations are grouped under their type.
This step contribute level 2 and 3 to the resulting tree.
In the third step, associations are grouped by the number of their members
and by the role that theese member plays.
This step adds the remaining three levels to the classification tree.
Inheritance Hierarchy
- java.lang.Object
- RoleTypePlayerCountClassifier
Interfaces
Method Summary | |
---|---|
ClassificationItem |
classify(org.tm4j.topicmap.Topic t0)
starts the classification process
|
org.tm4j.panckoucke.model.AMGestalt |
getGestaltForLevel(int level)
Instances of this class classify players in a six-level tree. The levels of this classifiers have the following Gestalten: level 0: AMGestaltRegistry#GESTALT_ROLE level 1: AMGestaltRegistry#GESTALT_CLASS level 2: AMGestaltRegistry#GESTALT_INSTANCE level 3: AMGestaltRegistry#GESTALT_ASSOCIATION level 4: AMGestaltRegistry#GESTALT_ROLE level 5: AMGestaltRegistry#GESTALT_PLAYER |