<< atkTr_erlangBounds Attack Tree atkTr_lowerBound >>

Attack Tree >> Attack Tree > atkTr_loadDist

atkTr_loadDist

loads a tlist distribution from a text file.

Calling Sequence

dist=atkTr_loadDist(file)

Parameters

file:

filename

Description

loads a tlist distribution from a text file. The first line of the file is a comment line. Otherwise each line must contain a state and the probability of the state. A distribution saved with the function atkTr_saveDist can be loaded.

Examples

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

Report an issue
<< atkTr_erlangBounds Attack Tree atkTr_lowerBound >>