net.sourceforge.toscanaj.controller.ndimlayout
Class DefaultDimensionStrategy

java.lang.Object
  extended bynet.sourceforge.toscanaj.controller.ndimlayout.DefaultDimensionStrategy
All Implemented Interfaces:
DimensionCreationStrategy

public class DefaultDimensionStrategy
extends java.lang.Object
implements DimensionCreationStrategy

This dimension strategy ensure the usual type of attribute-additivity. One attribute of each meet-irreducible concept gets assigned a dimension, which results in an attribute-additive line diagram based on attributes of meet-irreducibles. This is the usual layout used e.g. by Anaconda, except that the manipulation always works in a controlled way: moving the meet-irreducible elements moves the ideals (as with the ideal manipulator in our tools or Anaconda), while moving other nodes splits the movement onto the dimensions involved (I think that can be expressed as moving the ideals of all meet-irreducibles in the interval between the concept and the join of all of its parents -- alternatively just think of it in the same way all the other n-dim stuff works).


Constructor Summary
DefaultDimensionStrategy()
           
 
Method Summary
 java.util.Vector calculateDimensions(Lattice lattice)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDimensionStrategy

public DefaultDimensionStrategy()
Method Detail

calculateDimensions

public java.util.Vector calculateDimensions(Lattice lattice)
Specified by:
calculateDimensions in interface DimensionCreationStrategy


The ToscanaJ project