formats(n) formats(n)
NAME
formats - file formats of the Tina Toolbox
Part of Tina Toolbox for analysis of Petri nets and Time Petri nets.
DESCRIPTION
This page describe the formats of files used by the Tina tools.
Time Petri nets formats, input of tina/sift/struct/plan/play/ndrio/nd:
net.txt .net Time Petri nets textual format
ndr.txt .ndr Time Petri nets graphic format
tpn.txt .tpn Time Petri nets script format
pnml.txt .pnml Time Petri nets pnml format
Time Transition System format, input of tina/sift/struct/plan/play
(not supported by ndrio nor nd):
tts.txt .tts Time Transition System format
Transition system formats, output of tina:
aut.txt .aut Transition systems textual format (CADP format)
ktz.txt .ktz Kripke transition systems binary format (tina)
bcg.txt .bcg Transition systems binary format (tina for CADP)
mec.txt .mec Kripke transition systems textual format (tina for MEC4)
Other formats:
adr.txt .adr Transition systems graphic format (nd)
ltl.txt .ltl SE-LTL model checker commands (selt)
mmc.txt .ltl Mu-calculus model checker commands (muse)
scn.txt .scn Format of firing sequences and firing schedules,
(selt, plan, play, nd stepper history files)
The .net format
This is the textual description format of Time Petri nets.
A net is described by a series of declarations of places and/or
transitions, and an optional naming declaration for the net. The net
described is the superposition of these declarations. The grammar of
.net declarations is the following, in which nonterminals are
bracketed by < .. >, terminals are in upper case or quoted. Spaces,
carriage return and tabs act as separators.
Optionally, labels may be assigned to places and transitions. This
should be preferably done within "tr" and "pl" declarations rather
than using separate "lb" declarations. The later form ("lb") is kept
for backward compatibility and might disappear in future releases.
Grammar:
.net ::= (<trdesc>|<pldesc>|<lbdesc>|<prdesc>|<netdesc>)*
netdesc ::= 'net' <net>
trdesc ::= 'tr' <transition> {":" <label>} {<interval>} {<tinput> -> <toutput>}
pldesc ::= 'pl' <place> {":" <label>} {(<marking>)} {<pinput> -> <poutput>}
lbdesc ::= 'lb' [<place>|<transition>] <label>
prdesc ::= 'pr' (<transition>)+ ("<"|">") (<transition>)+
interval ::= ('['|']')INT','INT('['|']') | ('['|']')INT','w['
tinput ::= <place>{<arc>}
toutput ::= <place>{<normal_arc>}
pinput ::= <transition>{<normal_arc>}
poutput ::= <transition>{arc}
arc ::= <normal_arc> | <test_arc> | <inhibitor_arc> |
<stopwatch_arc> | <stopwatch-inhibitor_arc>
normal_arc ::= '*'<weight>
test_arc ::= '?'<weight>
inhibitor_arc ::= '?-'<weight>
stopwatch_arc ::= '!'<weight>
stopwatch-inhibitor_arc ::= '!-'<weight>
weight, marking ::= INT{'K'|'M'}
net, place, transition, label ::= ANAME | '{'QNAME'}'
INT ::= unsigned integer
ANAME ::= alphanumeric name, see Notes below
QNAME ::= arbitrary name, see Notes below
Notes:
Two forms are admitted for net, place and transition names:
- ANAME : any non empty string of letters, digits, primes ' and
underscores _
- '{'QNAME'}' : any chain between braces, and in which characters {,
}, and \ are prefixed by \
Empty lines and lines beginning with '#' are considered comments.
In any closed temporal interval [eft,lft], one must have eft <= lft.
The letter 'K' (resp. 'M') following a weight or marking multiplies it
by 10^3 (resp. 10^6).
Weight is optional for normal arcs, but mandatory for test and
inhibitor arcs
By default:
- transitions have temporal interval [0,w[
- normal arcs have weight 1
- places have marking 0
- places and transitin have the empty label "{}"
When several labels are assigned to some node, only the last assigned
is kept.
The .ndr format
Format ndr is the format of graphic files produced by the nd editor. A
net is described by a series of declarations of places, transitions
and edges, followed by a net name declaration. The net described is
the superposition of these declarations.
Grammar :
.ndr ::= (<trdesc>|<pldesc>)* (<edgedesc>|<prdesc>)* <netdesc>
trdesc ::= 't' <xpos> <ypos> <transition> <eft> <lft> <anchor>
| 't' <xpos> <ypos> <transition> <anchor> <eft> <lft> <anchor> <label> <anchor>
pldesc ::= 'p' <xpos> <ypos> <place> <marking> <anchor> {<label> <anchor>}
edgedesc ::= 'e' <place> <transition> {<arckind>}<weight> <anchor>
| 'e' <place> <ang> <rad> <transition> <ang> <rad> {<arckind>}<weight> <anchor>
| 'e' <transition> <place> <weight> <anchor>
| 'e' <transition> <ang> <rad> <place> <ang> <rad> <weight> <anchor>
prdesc ::= 'e' <transition> <transition> 1 <anchor>
| 'e' <transition> <ang> <rad> <transition> <ang> <rad> 1 <anchor>
netdesc ::= 'h' <net> {<nodesize> {<bgcolor>}}
eft ::= {-}INT
lft ::= {-}INT | 'w'
weight, marking ::= INT{'K'|'M'}
arckind ::= '?' // test (read) arc
| '?-' // inhibitor
| '!' // stopwatch
| '?-' // stopwatch-inhibitor
xpos, ypos, rad ::= FLOAT
ang ::= UFLOAT
net, place, transition, label ::= ANAME | '{'QNAME'}'
anchor ::= 'n' | 'nw' | 'w' | 'sw' | 's' | 'se' | 'e' | 'ne' | 'c'
FLOAT ::= unsigned float (without exponent)
UFLOAT ::= unsigned float between 0 and 1 (without exponent)
INT ::= unsigned integer
ANAME ::= see notes below
QNAME ::= see notes below
<nodesize> ::= 'small' | 'normal' | 'large'
<bgcolor> ::= any tcl-tk color
Notes:
Node declarations must precede edge declarations.
The last declaration must be the netname declaration (h).
Empty lines and lines beginning with '#'are considered comments.
A '-' starting an eft or lft denotes an open interval end.
In any transition declaration, one must have `lft >= `eft or lft = 'w',
where `e denotes e if e>=0, or (-e)-1 otherwise
If eft = lft, then they may not be both negative (intervals may not be
empty).
The letter 'K' (resp. 'M') following a weight or marking multiplies it
by 10^3 (resp. 10^6).
Two forms are admitted for net, place and transition names:
- ANAME : any non empty string of letters, digits, primes ' and
underscores _
- '{'QNAME'}' : any chain between braces, and in which characters {,
}, and \ are prefixed by \
The .tpn format
Format .tpn is a preliminary script language for building nets from
net components specified in .net or .ndr format.
Syntax of tpn files:
A .tpn file is constituted of zero or more lines
.tpn ::= <t
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
tina-3.2.0(linux最新版本)for Petri (141个子文件)
ifip.adr 782B
abp.adr 534B
API 3KB
l6000.aut 97KB
ifip.aut 342B
abp.aut 280B
ifip.bcg 2KB
avl.c 13KB
ntbase.c 9KB
ifip.c 9KB
ntbase.c 6KB
ntbase.c 6KB
ntbase.c 6KB
bcg_lib.c 2KB
trainsbase.c 1KB
CHANGES 17KB
circo 771KB
dot 771KB
graphplace 24KB
db.h 109KB
fiacre.h 2KB
avl.h 992B
formats.html 34KB
tina.html 24KB
selt.html 23KB
muse.html 20KB
sift.html 15KB
plan.html 11KB
play.html 11KB
ktzio.html 10KB
ndrio.html 8KB
struct.html 7KB
pathto.html 5KB
nd.html 4KB
INSTALL 3KB
l6000.ktz 24KB
abp.ktz 279B
ifip.ktz 226B
hp.ktz 193B
ktzio 751KB
ltl2ba 69KB
Makefile 1KB
Makefile 1KB
Makefile 1KB
Makefile 1KB
Makefile 1KB
Makefile 1KB
Makefile 430B
muse 1005KB
formats.n 18KB
tina.n 15KB
selt.n 13KB
muse.n 11KB
sift.n 8KB
plan.n 6KB
ktzio.n 5KB
play.n 5KB
ndrio.n 3KB
struct.n 3KB
nd.n 2KB
pathto.n 2KB
nd 1.75MB
ndmount 1KB
abp.ndr 2KB
l6000.ndr 920B
controler.ndr 729B
hp.ndr 684B
ifip.ndr 638B
ifip.ndr 638B
barrier.ndr 396B
barrier.ndr 368B
tasks.ndr 360B
train.ndr 323B
swtpn.ndr 273B
train.ndr 248B
ndrio 865KB
neato 771KB
abp.net 440B
controler.net 258B
barrier.net 194B
ifip.net 161B
ifip.net 150B
train.net 148B
l6000.net 140B
swtpn.net 116B
pathto 422KB
plan 1.04MB
play 1.45MB
plughelp 7KB
abp.pnml 16KB
ifip.pnml 5KB
hp.pnml 5KB
ifip_t.pnml 3KB
README 6KB
README 2KB
README 941B
README 438B
README 418B
README 235B
results 302B
共 141 条
- 1
- 2
资源评论
- qq_413719522017-12-12恩我明明没有下载下来呀??
worldchinali
- 粉丝: 0
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功