Learn R Programming

petrinetR (version 0.2.0)

parse: Parse

Description

Parses a sequence of transitions. If possible returns the Petri Net with the updated marking. Otherwise returns FALSE

Usage

parse(PN, trace)

Arguments

PN

A Petri Net

trace

A sequence of transitions, stored in a vector.