

{"id":2087,"date":"2015-06-19T16:36:27","date_gmt":"2015-06-19T14:36:27","guid":{"rendered":"https:\/\/project.inria.fr\/plasma-lab\/?page_id=2087"},"modified":"2015-06-19T16:36:44","modified_gmt":"2015-06-19T14:36:44","slug":"rml-with-importance-sampling","status":"publish","type":"page","link":"https:\/\/project.inria.fr\/plasma-lab\/documentation\/languages\/rml-with-importance-sampling\/","title":{"rendered":"RML with importance sampling"},"content":{"rendered":"<p>Importance sampling allows to modify the parameters of a model in order to increase the probability of generating rare properties. From version 1.3.4 of PLASMA Lab we have included these sampling parameters in the RML language.<\/p>\n<h3>Model type<\/h3>\n<p>Importance sampling uses a different simulator in order to simulate the model according to the sampling parameters and to compute the modified rate of each run. This simulator is enable by using the keyword <strong>sampling <\/strong>after the model type. Therefore the following model types are available for importance sampling:<\/p>\n<ul>\n<li>dtmc sampling<\/li>\n<li>ctmc sampling<\/li>\n<li>mdp sampling<\/li>\n<li>mdp shd sampling<\/li>\n<li>mdp sml sampling<\/li>\n<\/ul>\n<h3>Sampling parameters<\/h3>\n<p>Two types of sampling parameters are available:<\/p>\n<ul>\n<li>command rates<\/li>\n<li>action rates<\/li>\n<\/ul>\n<p><strong>Command rates<\/strong> are declared with <code>{ expr }<\/code> after the channel declaration. The effect is to specify a rate that increases or decreases the probability of firing this command.<br \/>\n<strong>Action rates<\/strong> are declared with <code>{ expr }<\/code> before the normal rate of an action. This new rate replaces the normal rate of the action.<\/p>\n<h3>Algorithms<\/h3>\n<p>Importance sampling is implemented with the following algorithms:<\/p>\n<ul>\n<li>Montecarlo<\/li>\n<li>Chernoff<\/li>\n<li>Chernoff ND<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Importance sampling allows to modify the parameters of a model in order to increase the probability of generating rare properties. From version 1.3.4 of PLASMA Lab we have included these sampling parameters in the RML language. Model type Importance sampling uses a different simulator in order to simulate the model\u2026<\/p>\n<p> <a class=\"continue-reading-link\" href=\"https:\/\/project.inria.fr\/plasma-lab\/documentation\/languages\/rml-with-importance-sampling\/\"><span>Continue reading<\/span><i class=\"crycon-right-dir\"><\/i><\/a> <\/p>\n","protected":false},"author":235,"featured_media":0,"parent":234,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2087","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/project.inria.fr\/plasma-lab\/wp-json\/wp\/v2\/pages\/2087","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/project.inria.fr\/plasma-lab\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/project.inria.fr\/plasma-lab\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/project.inria.fr\/plasma-lab\/wp-json\/wp\/v2\/users\/235"}],"replies":[{"embeddable":true,"href":"https:\/\/project.inria.fr\/plasma-lab\/wp-json\/wp\/v2\/comments?post=2087"}],"version-history":[{"count":2,"href":"https:\/\/project.inria.fr\/plasma-lab\/wp-json\/wp\/v2\/pages\/2087\/revisions"}],"predecessor-version":[{"id":2089,"href":"https:\/\/project.inria.fr\/plasma-lab\/wp-json\/wp\/v2\/pages\/2087\/revisions\/2089"}],"up":[{"embeddable":true,"href":"https:\/\/project.inria.fr\/plasma-lab\/wp-json\/wp\/v2\/pages\/234"}],"wp:attachment":[{"href":"https:\/\/project.inria.fr\/plasma-lab\/wp-json\/wp\/v2\/media?parent=2087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}