<< atkTr_and Attack Tree atkTr_erlangBounds >>

Attack Tree >> Attack Tree > atkTr_compact

atkTr_compact

compacts a multiset distribution tlist

Calling Sequence

Y=atkTree_compact(X)

Parameters

X :

a sorted multiset distribution tlist.

Y :

a sorted distribution tlist.

Description

returns Y the compacted discrete distribution tlist obtained from X. The states of X must be sorted in ascending order. In X, a state s can appear several times with different probabilities. In Y, each state s appears only once with the sum of its probabilities.

Examples

X=tlist(['distribution','state','probability'],[2,2,9,15],[0.125,0.125,0.5,0.25])
Y=atkTr_compact(X)

Report an issue
<< atkTr_and Attack Tree atkTr_erlangBounds >>