Usage Details¶
Usage¶
The usage command for the trafficmodelchecker
tool is as given below:
usage: trafficmodelchecker [-h] -a APPMODEL -u USERSESSIONS [-v] [-o OUTDIR]
[-m {Type1,Type2,Type3,Type4,Type4b, TypeStoc1, TypeStoc1b}]
**required arguments**:
-h, --help
show this help message and exit
-a APPMODEL, --appmodel APPMODEL
The application model file
-u USERSESSIONS, --usersessions USERSESSIONS
specify net model file a.k.a usersessions
**optional arguments**:
-v, --verbose
-o OUTDIR, --outdir OUTDIR
specify output directory to save logs
-m {Type1,Type2,Type3,Type4,Type4b, TypeStoc1, TypeStoc1b},
--modeltype {Type1,Type2,Type3,Type4,Type4b, TypeStoc1, TypeStoc1b}
specify type of model to create
The library can also be used within python with the code below:
from trafficmodelchecker.trafficmodelchecker import trafficmodelchecker
generator = Trafficmodelchecker(appmodel, usersessions,
outdir, modeltype)
generator.generate()