R/postset.R

Defines functions post_set

Documented in post_set

#' @title Postset
#'
#' @description Get the postset of a transition or place in a Petri Net
#'
#' @param PN A Petri Net
#' @param node A place or transition in the petri net
#'
#' @export post_set

post_set <- function(PN, node) {
	(PN$flows %>% filter(from == node))$to %>% return()
}
gertjanssenswillen/petrinetR documentation built on Aug. 1, 2019, 12:55 p.m.