Author |
Message
|
koko |
Posted: Wed Sep 01, 2004 6:06 am Post subject: Datastrucres and Modeling |
|
|
 Master
Joined: 26 Sep 2003 Posts: 206
|
I have two processes Process A and process B which use DataStructure A as input/ouput for Process A and DataStructure B as input/ouput for process B.
Now I want to model a new process C which has its own datastructure C.
The idea is to call this process C from within process A or process B.
Do I have to make Datastructure C a part of Datastructures A and B ? _________________ Thanks
Koko |
|
Back to top |
|
 |
vennela |
Posted: Wed Sep 01, 2004 6:10 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Quote: |
Do I have to make Datastructure C a part of Datastructures A and B ?
|
Absolutely NO
Each process/activity is not dependent on datastructes of any other process/activity |
|
Back to top |
|
 |
Ratan |
Posted: Wed Sep 01, 2004 6:12 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
If your Input DataStructure C needs data from DataStructures A and B just map the individual data members. _________________ -Ratan |
|
Back to top |
|
 |
yarlagaddag |
Posted: Wed Sep 01, 2004 6:52 am Post subject: |
|
|
Apprentice
Joined: 24 Aug 2004 Posts: 28 Location: Bangalore
|
Yes, As Ratan, mentioned, only if you need any data members from A to be used in C, then you just map those data members and otherwsie absolutely no need to have Data Stucture C with in A or B _________________ Gopi |
|
Back to top |
|
 |
koko |
Posted: Wed Sep 01, 2004 10:13 am Post subject: |
|
|
 Master
Joined: 26 Sep 2003 Posts: 206
|
can the names of the members in Datastructues A, B and C be the same or do they have to be different.
Thanks _________________ Thanks
Koko |
|
Back to top |
|
 |
vennela |
Posted: Wed Sep 01, 2004 10:20 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
They can be same
They can be different.
You can map the filed with different names. The memebers of one DS can be mapped to multiple members of the other Datastructure also |
|
Back to top |
|
 |
Ratan |
Posted: Wed Sep 01, 2004 10:22 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
As long as the 'Type' is same. _________________ -Ratan |
|
Back to top |
|
 |
|