Topic's layer distribution

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
Line 11: Line 11:
 
Some distributions are impossible. For example, situation where a single layer contains two or more merged topics can never occur as the virtual merge collapses into a real one as soon as topics share identifier. '''[ 2:0:0 ]''' is an example of such '''impossible''' layer distribution.
 
Some distributions are impossible. For example, situation where a single layer contains two or more merged topics can never occur as the virtual merge collapses into a real one as soon as topics share identifier. '''[ 2:0:0 ]''' is an example of such '''impossible''' layer distribution.
  
If layer structure contains nested layer stacks (i.e. layer groups within layers) layer distribution is a tree structure. For example '''[ 1:[ 0:1 ] ]''' is such a layer distribution where Wandora contains a layer stack with one topic map layer and one nested layer stack. Latter nested layer stack contains two layers and the inspected topic is a merged topic from first topic map layer and second layer in nested stack.
+
If layer structure contains nested layer stacks (i.e. layer groups within layers) layer distribution is a tree structure. For example '''[ 1:[ 0:1 ] ]''' is such a layer distribution where Wandora contains a layer stack with one topic map layer and one nested layer stack. Nested layer stack contains two layers. Inspected topic is a merged topic with two origins, one from first topic map and one from the second layer in nested layer stack.
  
 
== Math with Layer distribution? ==
 
== Math with Layer distribution? ==
  
 
This is very interesting question. Can one calculate anything reasonable with the layer distribution? We are open for your suggestions and welcome all ideas.
 
This is very interesting question. Can one calculate anything reasonable with the layer distribution? We are open for your suggestions and welcome all ideas.

Revision as of 21:31, 9 January 2010

Topic's layer distribution is an ordered set of numbers representing topic's distribution between layers. Layer distribution is used to give a rapid outlook of the topic and how the topic is merged between layers.

Topic's layer distribution is shown at the footer, near bottom right corner of the Wandora window. Layer distribution contains one number for each layer. First number represents the first layer, second number the second layer etc. Numbers build up a vector or tree structure if layer stacks are nested.

If the number in the layer distribution is 0 (zero), current topic doesn't exist in equivalent layer. If the number is 1 (one), current topic has one merged topic in the equivalent layer. If the number is 2, topic has two merged topics in the equivalent layer etc. Layer distribution vector contains always positive integer numbers including zero.

For example, if we have a topic with layer distribution [ 1:1:0 ], we can conclude the topic is a merged one and contains topics in first and second layer but the third layer is intact. However, the vector doesn't express the cause of the merge. Topics in Wandora merge when they share a base name, a subject locator or a subject identifier.

If we have a layer distribution [ 1:2 ], we can conclude the topic is a merged one but also that the topic in first layer causes two different topics to merge in second layer. This is possible when a topic in the first layer shares a base name and a subject identifier with two distinct topics in layer 2, for example.

Some distributions are impossible. For example, situation where a single layer contains two or more merged topics can never occur as the virtual merge collapses into a real one as soon as topics share identifier. [ 2:0:0 ] is an example of such impossible layer distribution.

If layer structure contains nested layer stacks (i.e. layer groups within layers) layer distribution is a tree structure. For example [ 1:[ 0:1 ] ] is such a layer distribution where Wandora contains a layer stack with one topic map layer and one nested layer stack. Nested layer stack contains two layers. Inspected topic is a merged topic with two origins, one from first topic map and one from the second layer in nested layer stack.

Math with Layer distribution?

This is very interesting question. Can one calculate anything reasonable with the layer distribution? We are open for your suggestions and welcome all ideas.

Personal tools