Description Usage Arguments Details See Also Examples
Creates an evolving DSD that consists of several MGC
s.
1 |
dimension |
the dimension of the DSD object |
... |
initial set of |
This DSD is able to generate complex datasets that are able to evolve over a period of time.
Its behavior is determined by the MGC
s it is composed of.
MGC_Function
, MGC_Linear
, MGC_Noise
, MGC_Random
for details on the different MGC
objects.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.