all_input_have_token.od 221 B

1234567891011121314
  1. # A place with no tokens:
  2. p:RAM_PNPlace
  3. ps:RAM_PNPlaceState {
  4. RAM_numTokens = `get_value(this) == 0`;
  5. }
  6. :RAM_pn_of (ps -> p)
  7. # An incoming arc from that place to our transition:
  8. t:RAM_PNTransition
  9. :RAM_arc (p -> t)