payload: {"action":"created","issue":{"url":"https://api.github.com/repos/JuliaPOMDP/QuickPOMDPs.jl/issues/4","repository_url":"https://api.github.com/repos/JuliaPOMDP/QuickPOMDPs.jl","labels_url":"https://api.github.com/repos/JuliaPOMDP/QuickPOMDPs.jl/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/JuliaPOMDP/QuickPOMDPs.jl/issues/4/comments","events_url":"https://api.github.com/repos/JuliaPOMDP/QuickPOMDPs.jl/issues/4/events","html_url":"https://github.com/JuliaPOMDP/QuickPOMDPs.jl/issues/4","id":453723287,"node_id":"MDU6SXNzdWU0NTM3MjMyODc=","number":4,"title":"key type parameter to allow overloading","user":{"login":"zsunberg","id":4240491,"node_id":"MDQ6VXNlcjQyNDA0OTE=","avatar_url":"https://avatars3.githubusercontent.com/u/4240491?v=4","gravatar_id":"","url":"https://api.github.com/users/zsunberg","html_url":"https://github.com/zsunberg","followers_url":"https://api.github.com/users/zsunberg/followers","following_url":"https://api.github.com/users/zsunberg/following{/other_user}","gists_url":"https://api.github.com/users/zsunberg/gists{/gist_id}","starred_url":"https://api.github.com/users/zsunberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsunberg/subscriptions","organizations_url":"https://api.github.com/users/zsunberg/orgs","repos_url":"https://api.github.com/users/zsunberg/repos","events_url":"https://api.github.com/users/zsunberg/events{/privacy}","received_events_url":"https://api.github.com/users/zsunberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-06-07T23:05:51Z","updated_at":"2019-06-07T23:08:09Z","closed_at":null,"author_association":"COLLABORATOR","body":"It seems reasonable that someone might want to add visualization or something to their `DiscreteExplicitPOMDP` or MDP.\r\n\r\nTo do this, they might need to provide new methods for their specific problem. Perhaps we should provide a key to dispatch on.\r\n\r\n```\r\nstruct DiscreteExplicitPOMDP{KEY, ...}\r\n      ...\r\nend\r\n\r\nfunction DiscreteExplicitPOMDP(...; ..., typekey::Symbol=Symbol())\r\n      ...\r\n    return DiscreteExplicitPOMDP{typekey, ...}(...)\r\nend\r\n```\r\n\r\nThen someone can write\r\n```\r\nrender(m::DiscreteExplicitPOMDP{:mykey}, step)\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaPOMDP/QuickPOMDPs.jl/issues/comments/500066157","html_url":"https://github.com/JuliaPOMDP/QuickPOMDPs.jl/issues/4#issuecomment-500066157","issue_url":"https://api.github.com/repos/JuliaPOMDP/QuickPOMDPs.jl/issues/4","id":500066157,"node_id":"MDEyOklzc3VlQ29tbWVudDUwMDA2NjE1Nw==","user":{"login":"zsunberg","id":4240491,"node_id":"MDQ6VXNlcjQyNDA0OTE=","avatar_url":"https://avatars3.githubusercontent.com/u/4240491?v=4","gravatar_id":"","url":"https://api.github.com/users/zsunberg","html_url":"https://github.com/zsunberg","followers_url":"https://api.github.com/users/zsunberg/followers","following_url":"https://api.github.com/users/zsunberg/following{/other_user}","gists_url":"https://api.github.com/users/zsunberg/gists{/gist_id}","starred_url":"https://api.github.com/users/zsunberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsunberg/subscriptions","organizations_url":"https://api.github.com/users/zsunberg/orgs","repos_url":"https://api.github.com/users/zsunberg/repos","events_url":"https://api.github.com/users/zsunberg/events{/privacy}","received_events_url":"https://api.github.com/users/zsunberg/received_events","type":"User","site_admin":false},"created_at":"2019-06-07T23:08:09Z","updated_at":"2019-06-07T23:08:09Z","author_association":"COLLABORATOR","body":"Actually it might just be more straightforward to add a field called `renderobject` and do\r\n```julia\r\nrender(m::DiscreteExplicitPOMDP, step) = render(m.renderobject, step)\r\n```"}}
other: {"actor":{"display_login":"zsunberg"}}