<< atkTr_merge Attack Tree atkTr_saveDist >>

Attack Tree >> Attack Tree > atkTr_or

atkTr_or

sorted distribution tlist disjunction (or)

Calling Sequence

Z=atkTr_or(X,Y)

Parameters

X :

a sorted distribution tlist

Y :

a sorted distribution tlist

Z :

a sorted tlist distribution tlist

Description

Returns Z the sorted distribution tlist disjunction of X and Y defined by :

Examples

X=tlist(['distribution','state','probability'],[2,9,15],[0.25,0.5,0.25])
Y=tlist(['distribution','state','probability'],[5,7],[0.3,0.7])
Z=atkTr_or(X,Y)
// Expected : Z.state         2.   5.    7.
//            Z.probability   0.25 0.225 0.525

Report an issue
<< atkTr_merge Attack Tree atkTr_saveDist >>