DSD Moving Generator

Description

Creates an evolving DSD that consists of several MGCs.

Usage

1
  DSD_MG(dimension = 2, ...)

Arguments

dimension

the dimension of the DSD object

...

initial set of MGCs

Details

This DSD is able to generate complex datasets that are able to evolve over a period of time. Its behavior is determined by the MGCs it is composed of.

See Also

MGC_Function, MGC_Linear, MGC_Noise, MGC_Random for details on the different MGC objects.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
  c1 <- MGC_Linear()
  c2 <- MGC_Linear()
  add_keyframe(c1,1,10,10,c(0,0),cluster=1)
  add_keyframe(c1,50,10,10,c(50,50),cluster=1)
  add_keyframe(c1,100,10,10,c(50,100),cluster=1)
  add_keyframe(c2,1,10,10,c(0,0),cluster=1)
  add_keyframe(c2,50,10,10,c(50,50),cluster=2)
  add_keyframe(c2,100,10,10,c(100,50),cluster=2)
  
  dsd <- DSD_MG(2,c1,c2)
  
  tnn <- DSC_tNN(alpha=.5,r=10,lambda=0.1,decay_interval=1)
  
  ## Not run: 
    tnnPurity <- animate_cluster(tnn,dsd,n=2500,type="macro",xlim=c(0,100),ylim=c(0,100),evaluationMethod="purity",horizon=100)
  
## End(Not run)