48.42K
Category: informaticsinformatics

General Data Structure

1.

General Data Structure
Input Item
Requirement Item
Relationship field:
Parameter
Parameter Item
Test Item
Relationship field:
Parameter
Parameter Item

2.

Parameters are re-usable, e.g.
Input Item
Parameter item has:
Antriebsart (Driver Type) &
Produktkategorie
(Product Category)
(identical to other items)
Requirement Item
Parameter Item
Relationship field:
Parameter
(other)
Requirement Item

3.

Decision tree:
Existing logic / algorithm:
Extended step for parameters:
General check if item is
valid (core logic)
Start
Check item for
validity
For each parameter
item:
Check if parameter is valid:
Product Category match or
„allgemein“ & Driver Type
match or „allgemein“
Note: Evaluation logic is identical to
nodes (e.g. input, requirement, test)
Item is valid
+ copied
Check if item
has value in
„Parameters“
At least 1
Parameter item
found
Loop
Parameter is
valid
Check if parameter has
already been copied during
this run
yes
Link (already) copied
parameter to copied
requirement/test item
no
Copy parameter
to target project
Link parameter to
copied
requirement/test item

4.

User Input: DriverType: Battery & Product Category: Chainsaw
Target Project (copied items)
Master Project
Input (valid)
Requirement
(valid)
Parameter 1
DriverType: allgemein
Product Category: allgemein
Parameter 2
DriverType: Battery
Product Category: Chainsaw
Input (valid)
Requirement
(valid)
Parameter 2
(copy)
Test (valid)
Parameter 3
DriverType: Petrol
Product Category: Chainsaw
Input (invalid)
Requirement
(invalid)
Parameter 1
(copy)
Parameter 4
DriverType: allgemein
Product Category: allgemein
Test (valid)
Create
copies of
documents
+ items
Note: Parameter in itself might be valid,
but root item is invalid, therefore ignored
Input (valid)
Input (valid)
Requirement
(valid)
Parameter 5
DriverType: allgemein
Product Category: Lawnmower
Requirement
(valid)
English     Русский Rules