{"action":"closed","issue":{"url":"https://api.github.com/repos/workcraft-lp/workcraft-test/issues/308","repository_url":"https://api.github.com/repos/workcraft-lp/workcraft-test","labels_url":"https://api.github.com/repos/workcraft-lp/workcraft-test/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/workcraft-lp/workcraft-test/issues/308/comments","events_url":"https://api.github.com/repos/workcraft-lp/workcraft-test/issues/308/events","html_url":"https://github.com/workcraft-lp/workcraft-test/issues/308","id":131459992,"number":308,"title":"Contraction of transitions","user":{"login":"workcraft-lp","id":17065435,"avatar_url":"https://avatars.githubusercontent.com/u/17065435?v=3","gravatar_id":"","url":"https://api.github.com/users/workcraft-lp","html_url":"https://github.com/workcraft-lp","followers_url":"https://api.github.com/users/workcraft-lp/followers","following_url":"https://api.github.com/users/workcraft-lp/following{/other_user}","gists_url":"https://api.github.com/users/workcraft-lp/gists{/gist_id}","starred_url":"https://api.github.com/users/workcraft-lp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/workcraft-lp/subscriptions","organizations_url":"https://api.github.com/users/workcraft-lp/orgs","repos_url":"https://api.github.com/users/workcraft-lp/repos","events_url":"https://api.github.com/users/workcraft-lp/events{/privacy}","received_events_url":"https://api.github.com/users/workcraft-lp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/workcraft-lp/workcraft-test/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/workcraft-lp/workcraft-test/labels/priority/high","name":"priority/high","color":"ededed"},{"url":"https://api.github.com/repos/workcraft-lp/workcraft-test/labels/status/confirmed","name":"status/confirmed","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"danilovesky","id":1443528,"avatar_url":"https://avatars.githubusercontent.com/u/1443528?v=3","gravatar_id":"","url":"https://api.github.com/users/danilovesky","html_url":"https://github.com/danilovesky","followers_url":"https://api.github.com/users/danilovesky/followers","following_url":"https://api.github.com/users/danilovesky/following{/other_user}","gists_url":"https://api.github.com/users/danilovesky/gists{/gist_id}","starred_url":"https://api.github.com/users/danilovesky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danilovesky/subscriptions","organizations_url":"https://api.github.com/users/danilovesky/orgs","repos_url":"https://api.github.com/users/danilovesky/repos","events_url":"https://api.github.com/users/danilovesky/events{/privacy}","received_events_url":"https://api.github.com/users/danilovesky/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/workcraft-lp/workcraft-test/milestones/2","html_url":"https://github.com/workcraft-lp/workcraft-test/milestones/3.0.8","labels_url":"https://api.github.com/repos/workcraft-lp/workcraft-test/milestones/2/labels","id":1563898,"number":2,"title":"3.0.8","description":null,"creator":{"login":"workcraft-lp","id":17065435,"avatar_url":"https://avatars.githubusercontent.com/u/17065435?v=3","gravatar_id":"","url":"https://api.github.com/users/workcraft-lp","html_url":"https://github.com/workcraft-lp","followers_url":"https://api.github.com/users/workcraft-lp/followers","following_url":"https://api.github.com/users/workcraft-lp/following{/other_user}","gists_url":"https://api.github.com/users/workcraft-lp/gists{/gist_id}","starred_url":"https://api.github.com/users/workcraft-lp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/workcraft-lp/subscriptions","organizations_url":"https://api.github.com/users/workcraft-lp/orgs","repos_url":"https://api.github.com/users/workcraft-lp/repos","events_url":"https://api.github.com/users/workcraft-lp/events{/privacy}","received_events_url":"https://api.github.com/users/workcraft-lp/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":15,"state":"closed","created_at":"2016-02-04T17:38:54Z","updated_at":"2016-02-04T20:11:13Z","due_on":null,"closed_at":"2016-02-04T17:38:54Z"},"comments":0,"created_at":"2016-02-04T20:08:00Z","updated_at":"2016-02-04T20:11:13Z","closed_at":"2016-02-04T20:11:13Z","body":"Contraction of Petri net or STG transitions is apparently a tricky business. There are 4 levels of \"contractability\" of a transition with corresponding conditions:\n\n0) Contraction is impossible:\n  - Transition has a read-arc or self-loop.\n  - Weighted arcs are required for the contraction (currently unsupported).\n\n1) Contraction is possible, but language can change:\n  - Transition has no read-arcs or self-loops.\n\n2) Contraction is possible, language is preserved, but safeness can be violated:\n  - Type-1-secure: There are no choice places in the preset (preset can be empty).\n  - Type-2-secure: There is at least one unmarked place in the postset AND there are no merge places in the postset (the postset cannot be empty).\n\n3) Contraction is possible,  language is preserved, safeness is preserved:\n  - Type-1 safe: The only place in the postset is unmarked AND it is not a merge.\n  - Type-2 safe: There is a single place in the preset AND all the postset places are unmarked and not merge places (the postset cannot be empty).\n  - Type-3 safe: The only preset place is not a choice.\n\n\n\n\n------------------------------------\nThis issue was imported from a Launchpad blueprint.\n\n * name: contraction\n * date created: 2016-01-07T16:20:26Z\n * date closed: 2016-01-14T09:47:33Z\n * assignee: danilovesky\n * the launchpad url was https://blueprints.launchpad.net/workcraft/+spec/contraction\n"}}