![]() |
Telelogic DOORS (steve huntington) | ![]() |
Topic Title: Skiplist of Baslines, Checking Date, Loading Specific Baseline based on Date Topic Summary: Created On: 2-Oct-2006 15:44 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi -
I have a module, and it has 3 baselines. The baselines are: Baseline............................................On 2.0 BLUE-2453...................................13 December 2004 3.0 BLUE-2453...................................1 January 2005 4.0 BLUE-2453...................................15 Janurary 2006 What I am trying to do is load a specific baseline or baselines to process for metrics purposes. For example, if I want to grab metrics for the dates between 15 December 2004 and 3 January 2005 I would have to load these baselines 2.0 BLUE-2453 3.0 BLUE-2453 However, I don't know how to do this, and looking for any assistance. Here is my code so far (code assumes user invokes it from within a module) quote: Thanks for your time, ------------------------- pete.kowalski(at)motorola.com |
|
![]() |
|
![]() |
|
Without using a Skip list I figured out a method using an array.
In addition, what I could do is this. 1) Load the module 2) Load the most recent basline and check the date of it 3) If the date is in range in step 2 record the name 4) Determine from the previous loaded baselien if the previous baseline from that baseline needs to be open. 5) And so on... ------------------------- pete.kowalski(at)motorola.com |
|
![]() |
|
![]() |
|
The attached code I think will do the trick. Take note of the 'sequencer' comments.
- Louie Edited: 3-Oct-2006 at 23:21 by Louie Landale |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.