org.tm4j.panckoucke.impl.abstraction .AssociationCompressDispatcher

Description

The AssociationCompressDispatcher allows to decide on-the-fly how associations are transformed into models. The AssociationCompressDispatcher may be used by abstractors to enable more flexible association building. The dispatcher gives access to various association compression schemes. For each offered compression it defines a public static String constant which serves to identify the desired compression scheme.

Inheritance Hierarchy

Field Summary
ASSOCIATION_COMPRESSION defines the name of the key, under which the compression scheme to use is lookuped in the abstractionContext that is passed to #dispatch(AModel, Topic, AbstractionContext, String)
CS_L2_BY_ROLE_OF_CENTER used to identify the compression scheme that is implemented by RoleOfCenterClassifier
CS_L2_BY_ROLE_OF_OTHERS used to identify the compression scheme that is implemented by RolesOfOthersClassifier
CS_L2_BY_TYPE_OF_ASSOC used to identify the compression scheme that is implemented by AssocTypeClassifier
CS_L4_UNCOMPRESSED used to identify the compression scheme that basically does not perform any compression but tries to map the characteristics of an association in a straight forward manner.
CS_L6_BY_ROLE_TYPE_PLAYER used to identify the compression scheme that is implemented by RoleTypePlayerCountClassifier
CS_MATRIX_BY_ROLES used to identify the compression scheme that is implemented by AssociationRoleMatrixClassifier
Method Summary
void dispatch(org.tm4j.panckoucke.model.AModel model,org.tm4j.topicmap.Topic topic,org.tm4j.panckoucke.abstraction.AbstractionContext ac,java.lang.String defaultCompression)
Building model structures for all the associations the given topic plays a role in.