Home

PolicyModels Tutorial¶

This tutorial teaches how to write a model in PolicyModels. As usual, we’ll start with a hello world program, and take it from there. This tutorial uses CliRunner, PolicyModel’s command line execution environment. It can be run from a terminal or from any Java IDE.

  • System Setup
    • Mandatory
    • Optional
    • Testing the Setup
  • Hello, World! v1.0
    • Creating a new model
    • Policy Space
    • Decision Graph
    • Model Description
    • Runtime!
    • Visualizations
  • Hello World, Revisited
    • More About the set Node
    • Adding Notes to Slots and Values
    • Comments
    • What’s Next
  • Hello? World?
    • Terms
    • Yes/No Special Case
    • Empty Answers
  • Node IDs
  • Call, Part, End
    • Defining a Part
    • Call-ing a Part
  • The Reject Node
    • It’s Not Us, Its You
  • consider and when and Conditional Branching
    • Considering a Single Slot
    • when Considering More Than a Single Slot
  • Placeholders
  • The Section Node
    • Sample Graph with Sections
  • Ordering Values
    • Total Order to the Rescue
  • When Graphs Grow
    • Divide and Import
  • Value Inference
    • A Little Theory: Policy Spaces
    • Support vs. Compliance Matching
      • Compliance-Based Inference
      • Support-Based Inference
    • Adding Inferres to a Model

PolicyModels Language and Tool Suite

Navigation

  • General Language Notes
  • Take PolicyModels for a Spin
  • PolicyModels Tutorial
  • Decision Graphs Language Reference
  • Defining Policy Spaces
  • Folder Layout
  • Policy Model Description File
  • Text Externalization and Localizations
  • CliRunner - PolicyModels Console Application
  • Terms and Their Meaning

Related Topics

  • Documentation overview
    • Previous: Take PolicyModels for a Spin
    • Next: System Setup

Quick search

©2013-2019 The President and Fellows of Harvard College. | Powered by Sphinx 4.0.2 & Alabaster 0.7.12