R/marking.R

Defines functions marking

Documented in marking

#' @title Marking
#'
#' @description Get the current marking of a Petri Net
#'
#' @param PN A Petri Net
#'
#' @export marking


marking <- function(PN) {

	lifecycle::deprecate_warn(
		when = "0.3.0",
		what = "marking()",
		with = "initial_marking()")


	return(PN$marking)
}

Try the petrinetR package in your browser

Any scripts or data that you put into this service are public.

petrinetR documentation built on April 3, 2023, 5:21 p.m.