Need DXL script for requirment classification

Hi All,

I need DXL script for classifying requirement after importing MS word doc into Rational DOORS .I have 1 requirement MS word document and i have imported it into Rational DOORS.Now i have to classify my requirement like functioanl requirement,System requirement .
Do u have have any idea how i can write DXL scrit that can classify this requirement ?

Thanks In Advance.

Monali
Monalij - Fri Sep 16 04:33:02 EDT 2011

Re: Need DXL script for requirment classification
SystemAdmin - Fri Sep 16 04:51:35 EDT 2011

Does the original Word document have such classification? If not, you would need some kind of artificial intelligence system in DXL to do the classification in DOORS. I would use my human
intelligence do the work manually.

Re: Need DXL script for requirment classification
Monalij - Fri Sep 16 05:00:11 EDT 2011

SystemAdmin - Fri Sep 16 04:51:35 EDT 2011
Does the original Word document have such classification? If not, you would need some kind of artificial intelligence system in DXL to do the classification in DOORS. I would use my human
intelligence do the work manually.

Thanks for ur response Pekka.
I need to this manual artificial intelligence work by using DXL script .
Do u have any idea how we can do it by using DXL script??

Thanks
Monali

Re: Need DXL script for requirment classification
OurGuest - Fri Sep 16 09:54:05 EDT 2011

Monalij - Fri Sep 16 05:00:11 EDT 2011
Thanks for ur response Pekka.
I need to this manual artificial intelligence work by using DXL script .
Do u have any idea how we can do it by using DXL script??

Thanks
Monali

If you can define the rules in such a way that software can interpret the rules then the dxl could be written. I think everyone here is anxiously waiting for you to define these rules.

Re: Need DXL script for requirment classification
llandale - Fri Sep 16 18:32:43 EDT 2011

Here's an outline; I'm going to call this "Requirement Type".
>>Create an Attr Type with your 'Types', perhaps 'System', 'Functional', 'Behaveoral', 'Perfurmance', 'Constraint' etc, after doing spell checking.
>>Create an Attr Definition, presumably 'single enumerated' based on that type. Multi-Enumerated if a requirement can have more than one ReqType but I believe that's methodologically unsound.

Now if you intend to write a DXL to assign the type, it would look like this:



for obj in (current Module) 

do 
{  

if    (

this object is a 
'System' type) then obj.
"ReqType" = 
"System" elseif(

this object is a 
'Functional' type) then obj.
"ReqType" = 
"Functional" etc 
} save(current Module)

The other responders are correct when they suggest that doing the fuzzy AI logic looks rather daughnting; not sure I can write a DXL that knows that "XYZ shall track at least 10 airplanes at a time" is a Performance requirement. Its likely then that you would put your ReqType attribute in a view and let the experts assign the type in one long meeting.

  • Louie

Not sure 'System' belongs with 'Functional'. Seems like you want two attributes, ReqType (functional et tal) and ReqLevel (System, SubSystem, Unit et tal). Having said that, you should have your specs hierarchy such that it has a 'System' spec and some "SubSystem" specs and can therefore deduce a Requirements level based on what module its in.

You can merge all that and others into a single attribute "AttrCharacteristics" that's multi-enumerated, but I think that's ill advised.