[prev in list] [next in list] [prev in thread] [next in thread] 

List:       j-sim-users
Subject:    [j-sim-users] How to use trajectory based mobility model?
From:       "Huang Chao" <huangch5 () mail2 ! sysu ! edu ! cn>
Date:       2008-09-07 12:05:01
Message-ID: 20080907115646.M3876 () mail2 ! sysu ! edu ! cn
[Download RAW message or body]

Hello everyone!

   I want to simulation a node with trajectory based mobility model, But I 
am confused to use the array of [][] trajectory. I define it as follow:
   double[][] trajectory= {{10,20,180,0}, {30,180,180,0}, {70,180,20,0},
{100,20,20,0}}; 
  It means that the node's position is (20,180,0) at time 10 and is  
(180,180,0) at time 30 and so on. But the simulation result shows that the 
node's position is always at (20,180,0).
  Could you tell me how cope with it? thanks!

                         superchao
--
Best regards



_______________________________________________
j-sim-users mailing list
j-sim-users@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/j-sim-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic