{
  "_id": "6ae9e4a79ceaa78f2009ddbf",
  "Package": "markovDP",
  "Title": "Infrastructure for Discrete-Time Markov Decision Processes (MDP)",
  "Version": "0.99.0",
  "Date": "2026-xx-xx",
  "Authors@R": "person(\"Michael\", \"Hahsler\", , \"mhahsler@lyle.smu.edu\", role = c(\"aut\", \"cph\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-2716-1405\"))",
  "Description": "Provides the infrastructure to work with Markov Decision\nProcesses (MDPs) in R. The focus is on convenience in\nformulating MDPs, the support of sparse representations (using\nsparse matrices, lists and data.frames) and visualization of\nresults. Some key components are implemented in C++ to speed up\ncomputation. Several popular solvers are implemented.",
  "License": "GPL (>=3)",
  "URL": "https://github.com/mhahsler/markovDP,\nhttp://michael.hahsler.net/markovDP/",
  "BugReports": "https://github.com/mhahsler/markovDP/issues",
  "VignetteBuilder": "knitr",
  "Classification/ACM": "G.4, G.1.6, I.2.6",
  "Copyright": "Copyright (C) Michael Hahsler.",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "SystemRequirements": "C++17",
  "Collate": "'AAA_check_installed.R' 'AAA_colors.R' 'AAA_foreach_helper.R'\n'AAA_near_equal.R' 'AAA_nodots.R' 'AAA_package.R'\n'AAA_progress.R' 'AAA_sample_sparse.R' 'AAA_shorten.R'\n'AAA_which_max_random.R' 'Cliff_walking.R' 'DynaMaze.R' 'MDP.R'\n'MDPSample.R' 'Maze.R' 'Q_values.R' 'RcppExports.R'\n'Windy_gridworld.R' 'absorbing_states.R'\n'accessors_transitions.R' 'accessors_reward.R' 'accessors.R'\n'act.R' 'action.R' 'action_state_helpers.R'\n'available_actions.R' 'bellman_operator.R'\n'check_and_fix_MDP.R' 'convergence_horizon.R'\n'find_reachable_states.R' 'greedy.R' 'gridworld.R'\n'linear_function_approximation.R' 'policy.R'\n'policy_evaluation.R' 'policy_evaluation_LP.R'\n'policy_evaluation_MC.R' 'policy_evaluation_bellman.R'\n'reachable_states.R' 'regret.R' 'return.R'\n'round_stochchastic.R' 'sample_MDP.R' 'sample_MDPSample.R'\n'schedule.R' 'solve_MDP.R' 'solve_MDP_APPROX.R'\n'solve_MDP_DP.R' 'solve_MDP_LP.R' 'solve_MDP_MC.R'\n'solve_MDP_PG.R' 'solve_MDP_SAMP.R' 'solve_MDP_TD.R'\n'sparse_helpers.R' 'start.R' 'transformation.R'\n'transition_graph.R' 'unreachable_states.R' 'value_function.R'\n'visit_probability.R' 'zzz.R'",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev",
  "Repository": "https://mhahsler.r-universe.dev",
  "Date/Publication": "2026-10-04 17:01:26 UTC",
  "RemoteUrl": "https://github.com/mhahsler/markovDP",
  "RemoteRef": "HEAD",
  "RemoteSha": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-03 13:33:05 UTC",
    "User": "root"
  },
  "Author": "Michael Hahsler [aut, cph, cre] (ORCID:\n<https://orcid.org/0000-0003-2716-1405>)",
  "Maintainer": "Michael Hahsler <mhahsler@lyle.smu.edu>",
  "_user": "mhahsler",
  "_type": "src",
  "_file": "markovDP_0.99.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/a8e0d0cb8d24b9809e6c2bd030fe8e2f71b8f584f1f54c3ed8e952aad838f2de",
  "_filesize": 3517462,
  "_sha256": "a8e0d0cb8d24b9809e6c2bd030fe8e2f71b8f584f1f54c3ed8e952aad838f2de",
  "_expires": "2027-02-11T13:41:56.000Z",
  "_created": "2026-11-03T13:33:05.000Z",
  "_published": "2026-11-03T13:41:58.880Z",
  "_upstream": "https://github.com/mhahsler/markovDP",
  "_status": "success",
  "_maintainer": {
    "name": "Michael Hahsler",
    "email": "mhahsler@lyle.smu.edu",
    "login": "mhahsler",
    "orcid": "0000-0003-2716-1405",
    "description": "I develop packages for AI, ML, and Data Science.",
    "uuid": 14900595
  },
  "_jobs": [
    {
      "job": 125949393761,
      "time": 176,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13234847705"
    },
    {
      "job": 125949393719,
      "time": 226,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13235366695"
    },
    {
      "job": 125949393764,
      "time": 210,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13235441554"
    },
    {
      "job": 125949393690,
      "time": 193,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13234788420"
    },
    {
      "job": 125949393878,
      "time": 183,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13235725208"
    },
    {
      "job": 125949393876,
      "time": 440,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13234834341"
    },
    {
      "job": 125949394017,
      "time": 203,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13235372396"
    },
    {
      "job": 125949393998,
      "time": 295,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13235301888"
    },
    {
      "job": 125946437560,
      "time": 341,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13234598352"
    },
    {
      "job": 125949393660,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13235590070"
    },
    {
      "job": 125949393798,
      "time": 275,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13234813885"
    },
    {
      "job": 125949393852,
      "time": 183,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13233964695"
    },
    {
      "job": 125949394114,
      "time": 189,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13235530402"
    },
    {
      "job": 125949393938,
      "time": 282,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13235387252"
    },
    {
      "job": 125949393796,
      "time": 215,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13235172885"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mhahsler/actions/runs/41644527461",
  "_commit": {
    "id": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
    "author": "mhahsler <michael@hahsler.net>",
    "committer": "mhahsler <michael@hahsler.net>",
    "message": "math rendering.\n",
    "time": 1791133286
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "fastmap",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "lpSolve",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "MatrixExtra",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Suggests"
    },
    {
      "package": "gifski",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "visNetwork",
      "role": "Suggests"
    }
  ],
  "_owner": "mhahsler",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-40",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "control-theory",
    "markov-decision-process",
    "optimization",
    "cpp"
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "mhahsler",
      "count": 97,
      "uuid": 14900595
    }
  ],
  "_userbio": {
    "uuid": 14900595,
    "type": "user",
    "name": "Michael Hahsler",
    "followers": 303,
    "description": "I develop packages for AI, ML, and Data Science."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/markovDP"
  },
  "_devurl": "https://github.com/mhahsler/markovdp",
  "_pkgdown": "http://michael.hahsler.net/markovDP/",
  "_searchresults": 11,
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::get_cache()",
        "hash": "1d6d6c9cfafe4068"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/markovDP.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "A",
    "absorbing_states",
    "act",
    "action",
    "action_discrepancy",
    "add_policy",
    "approx_greedy_action",
    "approx_greedy_policy",
    "approx_Q_value",
    "approx_V_plot",
    "approx_value",
    "available_actions",
    "bellman_operator",
    "bellman_update",
    "colors_continuous",
    "colors_discrete",
    "convergence_horizon",
    "create_basis_coefs",
    "curve_multiple_directed",
    "expected_return",
    "features2state",
    "find_reachable_states",
    "get_state_features",
    "greedy_action",
    "greedy_policy",
    "gw_animate",
    "gw_init",
    "gw_matrix",
    "gw_maze_MDP",
    "gw_path",
    "gw_plot",
    "gw_plot_transition_graph",
    "gw_random_maze",
    "gw_rc2s",
    "gw_read_maze",
    "gw_s2rc",
    "gw_transition_model",
    "gw_transition_model_end_state",
    "gw_transition_model_named",
    "gw_transition_model_sparse",
    "induced_reward_matrix",
    "induced_transition_matrix",
    "is_converged_MDP",
    "is_solved_MDP",
    "manual_policy",
    "MDP",
    "MDPSample",
    "normalize_action",
    "normalize_action_id",
    "normalize_action_label",
    "normalize_MDP",
    "normalize_state",
    "normalize_state_features",
    "normalize_state_id",
    "normalize_state_label",
    "P_",
    "pi_approx_linear",
    "plot_transition_graph",
    "plot_value_function",
    "policy",
    "policy_evaluation",
    "policy_evaluation_bellman",
    "policy_evaluation_LP",
    "policy_evaluation_MC",
    "q_approx_linear",
    "Q_random",
    "Q_values",
    "Q_zero",
    "R_",
    "random_policy",
    "reachable_states",
    "regret",
    "remove_unreachable_states",
    "reward_matrix",
    "round_stochastic",
    "s",
    "S",
    "sample_MDP",
    "schedule_exp",
    "schedule_exp2",
    "schedule_harmonic",
    "schedule_linear",
    "schedule_log",
    "solve_MDP",
    "solve_MDP_APPROX",
    "solve_MDP_DP",
    "solve_MDP_LP",
    "solve_MDP_MC",
    "solve_MDP_PG",
    "solve_MDP_SAMP",
    "solve_MDP_TD",
    "start_vector",
    "state2features",
    "transformation_fourier_basis",
    "transformation_linear_basis",
    "transformation_polynomial_basis",
    "transformation_RBF_basis",
    "transition_graph",
    "transition_matrix",
    "unreachable_states",
    "v_approx_linear",
    "V_random",
    "V_zero",
    "value_error",
    "value_function",
    "visit_probability"
  ],
  "_datasets": [
    {
      "name": "Cliff_walking",
      "title": "Cliff Walking Gridworld MDP",
      "object": "Cliff_walking",
      "file": "Cliff_walking.rda",
      "class": [
        "MDPModel",
        "MDP"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "DynaMaze",
      "title": "The Dyna Maze",
      "object": "DynaMaze",
      "file": "DynaMaze.rda",
      "class": [
        "MDPModel",
        "MDP"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "Maze",
      "title": "Steward Russell's 4x3 Maze Gridworld MDP",
      "object": "Maze",
      "file": "Maze.rda",
      "class": [
        "MDPModel",
        "MDP"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "Windy_gridworld",
      "title": "Windy Gridworld MDP Windy Gridworld MDP",
      "object": "Windy_gridworld",
      "file": "Windy_gridworld.rda",
      "class": [
        "MDPModel",
        "MDP"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "absorbing_states",
      "title": "Absorbing States",
      "concept": [
        "MDP",
        "MDPSample"
      ],
      "topics": [
        "absorbing_states",
        "absorbing_states.MDP",
        "absorbing_states.MDPSample"
      ]
    },
    {
      "page": "act",
      "title": "Perform an Action",
      "concept": [
        "MDP",
        "MDPSample"
      ],
      "topics": [
        "act",
        "act.MDPModel",
        "act.MDPSample"
      ]
    },
    {
      "page": "action",
      "title": "Choose an Action Given a Policy",
      "concept": [
        "policy"
      ],
      "topics": [
        "action"
      ]
    },
    {
      "page": "action_state_helpers",
      "title": "Conversions for Action and State IDs and Labels",
      "concept": [
        "MDP",
        "MDPSample"
      ],
      "topics": [
        "action_state_helpers",
        "features2state",
        "get_state_features",
        "normalize_action",
        "normalize_action_id",
        "normalize_action_label",
        "normalize_state",
        "normalize_state_features",
        "normalize_state_id",
        "normalize_state_label",
        "s",
        "state2features"
      ]
    },
    {
      "page": "available_actions",
      "title": "Available Actions in a State",
      "concept": [
        "MDP"
      ],
      "topics": [
        "available_actions"
      ]
    },
    {
      "page": "bellman_update",
      "title": "Bellman Update and Bellman operator",
      "concept": [
        "value_function"
      ],
      "topics": [
        "bellman_operator",
        "bellman_update"
      ]
    },
    {
      "page": "Cliff_walking",
      "title": "Cliff Walking Gridworld MDP",
      "concept": [
        "MDP_examples",
        "gridworld"
      ],
      "topics": [
        "Cliff_walking",
        "cliff_walking"
      ]
    },
    {
      "page": "colors",
      "title": "Default Colors for Visualization",
      "concept": [
        "utilities"
      ],
      "topics": [
        "colors",
        "colors_continuous",
        "colors_discrete"
      ]
    },
    {
      "page": "convergence_horizon",
      "title": "Estimate the Convergence Horizon for an Infinite-Horizon MDP",
      "concept": [
        "solver"
      ],
      "topics": [
        "convergence_horizon"
      ]
    },
    {
      "page": "DynaMaze",
      "title": "The Dyna Maze",
      "concept": [
        "MDP_examples",
        "gridworld"
      ],
      "topics": [
        "DynaMaze",
        "dynamaze"
      ]
    },
    {
      "page": "expected_return",
      "title": "Calculate the Expected Return of a Policy",
      "concept": [
        "policy"
      ],
      "topics": [
        "expected_return",
        "expected_return.MDP"
      ]
    },
    {
      "page": "find_reachable_states",
      "title": "Find Reachable State Space from a Transition Model Function",
      "concept": [
        "MDP"
      ],
      "topics": [
        "find_reachable_states"
      ]
    },
    {
      "page": "greedy_action",
      "title": "Greedy Actions and Policies",
      "concept": [
        "policy"
      ],
      "topics": [
        "greedy_action",
        "greedy_policy"
      ]
    },
    {
      "page": "gridworld",
      "title": "Helper Functions for Gridworld MDPs",
      "concept": [
        "gridworld",
        "visualization"
      ],
      "topics": [
        "gridworld",
        "gw",
        "gw_animate",
        "gw_init",
        "gw_matrix",
        "gw_maze_MDP",
        "gw_path",
        "gw_plot",
        "gw_plot_transition_graph",
        "gw_random_maze",
        "gw_rc2s",
        "gw_read_maze",
        "gw_s2rc",
        "gw_transition_model",
        "gw_transition_model_end_state",
        "gw_transition_model_named",
        "gw_transition_model_sparse"
      ]
    },
    {
      "page": "linear_function_approximation",
      "title": "Linear Function Approximation",
      "concept": [
        "approximation"
      ],
      "topics": [
        "approx_value",
        "linear_function_approximation",
        "pi_approx_linear",
        "q_approx_linear",
        "v_approx_linear"
      ]
    },
    {
      "page": "Maze",
      "title": "Steward Russell's 4x3 Maze Gridworld MDP",
      "concept": [
        "MDP_examples",
        "gridworld"
      ],
      "topics": [
        "Maze",
        "maze"
      ]
    },
    {
      "page": "MDP",
      "title": "Define an MDP Problem with Model Access",
      "concept": [
        "MDP",
        "MDP_examples"
      ],
      "topics": [
        "A",
        "is_converged_MDP",
        "is_solved_MDP",
        "MDP",
        "MDPModel",
        "P_",
        "R_",
        "S"
      ]
    },
    {
      "page": "MDPSample",
      "title": "Define an MDP With Only Sample Access",
      "concept": [
        "MDPSample"
      ],
      "topics": [
        "MDPSample"
      ]
    },
    {
      "page": "policy",
      "title": "Extract, Create Add a Policy to a Model",
      "concept": [
        "policy"
      ],
      "topics": [
        "add_policy",
        "induced_reward_matrix",
        "induced_transition_matrix",
        "manual_policy",
        "policy",
        "random_policy"
      ]
    },
    {
      "page": "policy_evaluation",
      "title": "Policy Evaluation",
      "concept": [
        "policy"
      ],
      "topics": [
        "policy_evaluation",
        "policy_evaluation_bellman",
        "policy_evaluation_LP",
        "policy_evaluation_MC"
      ]
    },
    {
      "page": "Q_values",
      "title": "Q-Values",
      "concept": [
        "value_function"
      ],
      "topics": [
        "Q_random",
        "Q_values",
        "Q_zero"
      ]
    },
    {
      "page": "reachable_states",
      "title": "Find Reachable States",
      "concept": [
        "MDP",
        "MDPSample"
      ],
      "topics": [
        "reachable_states",
        "reachable_states.function",
        "reachable_states.MDPModel",
        "reachable_states.MDPSample"
      ]
    },
    {
      "page": "regret",
      "title": "Regret of a Policy and Related Measures",
      "concept": [
        "policy"
      ],
      "topics": [
        "action_discrepancy",
        "regret",
        "value_error"
      ]
    },
    {
      "page": "round_stochastic",
      "title": "Round a stochastic vector or a row-stochastic matrix",
      "concept": [
        "utilities"
      ],
      "topics": [
        "round_stochastic"
      ]
    },
    {
      "page": "sample_MDP",
      "title": "Sample Trajectories from an MDP",
      "concept": [
        "MDP"
      ],
      "topics": [
        "sample_MDP",
        "sample_MDP.MDP"
      ]
    },
    {
      "page": "sample_MDP.MDPSample",
      "title": "Sample Trajectories from an MDPSample",
      "concept": [
        "MDP",
        "MDPSample"
      ],
      "topics": [
        "sample_MDP.MDPSample"
      ]
    },
    {
      "page": "schedule",
      "title": "Schedules to Reduce Alpha, Epsilon and Other Parameters",
      "concept": [
        "solver"
      ],
      "topics": [
        "schedule",
        "schedule_exp",
        "schedule_exp2",
        "schedule_harmonic",
        "schedule_linear",
        "schedule_log"
      ]
    },
    {
      "page": "solve_MDP",
      "title": "Solve an MDP Problem",
      "concept": [
        "solver"
      ],
      "topics": [
        "solve_MDP",
        "solve_MDP.MDP",
        "solve_MDP.MDPSample"
      ]
    },
    {
      "page": "solve_MDP_APPROX",
      "title": "Solve MDPs with Temporal Differencing with Function Approximation",
      "concept": [
        "approximation",
        "solver"
      ],
      "topics": [
        "approx_greedy_action",
        "approx_greedy_policy",
        "approx_Q_value",
        "approx_V_plot",
        "solve_MDP_APPROX"
      ]
    },
    {
      "page": "solve_MDP_DP",
      "title": "Solve MDPs using Dynamic Programming",
      "concept": [
        "solver"
      ],
      "topics": [
        "solve_MDP_DP"
      ]
    },
    {
      "page": "solve_MDP_LP",
      "title": "Solve MDPs using Linear Programming",
      "concept": [
        "solver"
      ],
      "topics": [
        "solve_MDP_LP"
      ]
    },
    {
      "page": "solve_MDP_MC",
      "title": "Solve MDPs using Monte Carlo Control",
      "concept": [
        "solver"
      ],
      "topics": [
        "solve_MDP_MC"
      ]
    },
    {
      "page": "solve_MDP_PG",
      "title": "Solve MDPs with Policy Gradient Methods",
      "concept": [
        "MDPSample",
        "solver"
      ],
      "topics": [
        "solve_MDP_PG"
      ]
    },
    {
      "page": "solve_MDP_SAMP",
      "title": "Solve MDPs using Random-Sampling",
      "concept": [
        "solver"
      ],
      "topics": [
        "solve_MDP_SAMP"
      ]
    },
    {
      "page": "solve_MDP_TD",
      "title": "Solve MDPs using Tabular Temporal Differencing",
      "concept": [
        "solver"
      ],
      "topics": [
        "solve_MDP_TD"
      ]
    },
    {
      "page": "start",
      "title": "Sample a Start State",
      "concept": [
        "MDP",
        "MDPSample"
      ],
      "topics": [
        "start",
        "start.MDPModel",
        "start.MDPSample"
      ]
    },
    {
      "page": "transformation",
      "title": "Transformation Functions for Linear Function Approximation",
      "concept": [
        "approximation"
      ],
      "topics": [
        "create_basis_coefs",
        "transformation",
        "transformation_fourier_basis",
        "transformation_linear_basis",
        "transformation_polynomial_basis",
        "transformation_RBF_basis"
      ]
    },
    {
      "page": "transition_graph",
      "title": "Transition Graph",
      "concept": [
        "MDP",
        "visualization"
      ],
      "topics": [
        "curve_multiple_directed",
        "plot_transition_graph",
        "transition_graph"
      ]
    },
    {
      "page": "accessors",
      "title": "Access to Parts of the Model Description",
      "concept": [
        "MDP"
      ],
      "topics": [
        "accessors",
        "normalize_MDP",
        "reward_matrix",
        "start_vector",
        "transition_matrix"
      ]
    },
    {
      "page": "unreachable_states",
      "title": "Unreachable States",
      "concept": [
        "MDP"
      ],
      "topics": [
        "remove_unreachable_states",
        "unreachable_states"
      ]
    },
    {
      "page": "value_function",
      "title": "Value Function",
      "concept": [
        "value_function"
      ],
      "topics": [
        "plot_value_function",
        "value_function",
        "V_random",
        "V_zero"
      ]
    },
    {
      "page": "visit_probability",
      "title": "State Visit Probability",
      "concept": [
        "policy"
      ],
      "topics": [
        "visit_probability"
      ]
    },
    {
      "page": "Windy_gridworld",
      "title": "Windy Gridworld MDP Windy Gridworld MDP",
      "concept": [
        "MDP_examples",
        "gridworld"
      ],
      "topics": [
        "Windy_gridworld",
        "windy_gridworld"
      ]
    }
  ],
  "_pkglogo": "https://github.com/mhahsler/markovDP/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/mhahsler/markovDP/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "crayon",
    "fastmap",
    "float",
    "foreach",
    "glue",
    "hms",
    "igraph",
    "iterators",
    "lattice",
    "lifecycle",
    "lpSolve",
    "magrittr",
    "Matrix",
    "MatrixExtra",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "Rcpp",
    "RhpcBLASctl",
    "rlang",
    "vctrs"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "Gridworlds.Rmd",
      "filename": "Gridworlds.html",
      "title": "Gridworlds as MDPs",
      "author": "Michael Hahsler",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Defining a Gridworld",
        "Working with Gridworld MDPs",
        "Solving a Gridworld",
        "Experimenting with Solvers",
        "References"
      ],
      "created": "2025-02-20 20:34:01",
      "modified": "2025-02-20 20:34:01",
      "commits": 1
    },
    {
      "source": "markovDP.Rmd",
      "filename": "markovDP.html",
      "title": "Introduction to Discrete-Time Markov Decision Processes",
      "author": "Michael Hahsler",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Markov Decision Processes",
        "Definition",
        "Notation Used in the Package",
        "Package Functionality",
        "Defining an MDP Problem",
        "Solving an MDP",
        "Toy Example: Steward Russell's 4x3 Maze Gridworld MDP",
        "Specifying the Stochastic Maze",
        "Solving the Maze",
        "Additional Functions",
        "Access to Model Components",
        "Value Function",
        "Policy",
        "Evaluation",
        "Sampling",
        "Acknowledgments",
        "References"
      ],
      "created": "2024-05-31 18:46:21",
      "modified": "2026-09-28 15:56:01",
      "commits": 16
    },
    {
      "source": "LinearApproximation.Rmd",
      "filename": "LinearApproximation.html",
      "title": "Solving MDPs with Linear Approximation",
      "author": "Michael Hahsler",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Linear Approximation",
        "State-action Feature Vector Construction",
        "Helper Functions",
        "Episodic Semi-gradient Sarsa",
        "Example 1: A maze without walls",
        "Example 2: Stuart Russell's 3x4 Maze using Linear Approximation",
        "Linear Basis",
        "Order-1 Polynomial Basis",
        "Radial Basis Function",
        "Order-1 Fourier Basis",
        "Example 3: Wall Maze",
        "References"
      ],
      "created": "2025-02-20 20:34:01",
      "modified": "2026-09-28 15:56:01",
      "commits": 4
    },
    {
      "source": "TicTacToe.Rmd",
      "filename": "TicTacToe.html",
      "title": "Solving Tic-Tac-Toe as an MDP",
      "author": "Michael Hahsler",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Defining Tic-Tac-Toe as an MDP",
        "Actions",
        "State Space",
        "Transition Model",
        "Reward Function",
        "Constructing the MDP",
        "Define Test Boards",
        "Solve",
        "LP",
        "Value Iteration",
        "Policy Iteration",
        "Q-Learning",
        "References"
      ],
      "created": "2024-09-01 04:46:42",
      "modified": "2026-09-28 15:56:01",
      "commits": 5
    }
  ],
  "_score": 4.1875207208364635,
  "_indexed": true,
  "_nocasepkg": "markovdp",
  "_universes": [
    "mhahsler"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.99.0",
      "date": "2026-11-03T13:35:08.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
      "fileid": "https://r2.ropensci.org/22473510140246dea6a0541b4cb82cadfe8c92d9a0776fc3dad206b7fbade728",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mhahsler/actions/runs/41644527461"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.99.0",
      "date": "2026-11-03T13:35:27.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
      "fileid": "https://r2.ropensci.org/04e5de3053805cd457f8f4b7281071da6da30090dcc241907ba3ab815e1d5e38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mhahsler/actions/runs/41644527461"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.99.0",
      "date": "2026-11-03T13:35:48.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
      "fileid": "https://r2.ropensci.org/ef70929182b4306f76b795e619876c2ab84b353d517160159f659a2638ca4dca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mhahsler/actions/runs/41644527461"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.99.0",
      "date": "2026-11-03T13:35:29.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
      "fileid": "https://r2.ropensci.org/60743492d88e68d49306f786b6be209e00814dc0339180ceef36a2d88c83087b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mhahsler/actions/runs/41644527461"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.99.0",
      "date": "2026-11-03T13:37:04.000Z",
      "arch": "aarch64",
      "commit": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
      "fileid": "https://r2.ropensci.org/71fa6599ba9e20cad2f365e5f5437b45e4f6d6ad31317bb7283591076d558c71",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mhahsler/actions/runs/41644527461"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.99.0",
      "date": "2026-11-03T13:37:58.000Z",
      "arch": "x86_64",
      "commit": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
      "fileid": "https://r2.ropensci.org/d8ab41f893ba889b9549c417ca53589a3eee8abea6b29e11e6cd442982bae03b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mhahsler/actions/runs/41644527461"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.99.0",
      "date": "2026-11-03T13:38:01.000Z",
      "arch": "aarch64",
      "commit": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
      "fileid": "https://r2.ropensci.org/266282a02bbf834f6c14451558a952ca130166c675f9be829e6fb943fda1b1c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mhahsler/actions/runs/41644527461"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.99.0",
      "date": "2026-11-03T13:36:02.000Z",
      "arch": "x86_64",
      "commit": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
      "fileid": "https://r2.ropensci.org/dec29589b0891c334658aef40f567b554dd5eb2ca3a7887e8cba959d0f7bd179",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mhahsler/actions/runs/41644527461"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.99.0",
      "date": "2026-11-03T13:35:38.000Z",
      "arch": "emscripten",
      "commit": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
      "fileid": "https://r2.ropensci.org/5cbdaecdfd2fc0e10c5b4e85560f7051f40e470a4bc8d3db80dc6f49954f5445",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mhahsler/actions/runs/41644527461"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.99.0",
      "date": "2026-11-03T13:36:12.000Z",
      "arch": "aarch64",
      "commit": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
      "fileid": "https://r2.ropensci.org/36be997b4976ba7b3d6fe0ce95edd227b27350a32bf7343653a8ed4a98ab65c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mhahsler/actions/runs/41644527461"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.99.0",
      "date": "2026-11-03T13:34:38.000Z",
      "arch": "x86_64",
      "commit": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
      "fileid": "https://r2.ropensci.org/ec577df24b5e52a18149299bf1857555bcf19d1f4212fb869669e448f9b9a816",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mhahsler/actions/runs/41644527461"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.99.0",
      "date": "2026-11-03T13:34:50.000Z",
      "arch": "x86_64",
      "commit": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
      "fileid": "https://r2.ropensci.org/d160a9c0b8c004f33a4bcaca0ef946c15cf7aa5709a8c707c440a2359e7b3cd3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mhahsler/actions/runs/41644527461"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.99.0",
      "date": "2026-11-03T13:36:27.000Z",
      "arch": "aarch64",
      "commit": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
      "fileid": "https://r2.ropensci.org/6b3b0d7c0f51252b0c37b07c2016b6c65c222f51b26494eca83ddf68cb0c3a2b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mhahsler/actions/runs/41644527461"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.99.0",
      "date": "2026-11-03T13:34:44.000Z",
      "arch": "x86_64",
      "commit": "b3d6b301cc2535bdb109bdddcfdd2164c44eaf0f",
      "fileid": "https://r2.ropensci.org/c33e572dbc1bd6c1d8e9eab40433edfeb60297b17c0b379691a2e1998e691234",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mhahsler/actions/runs/41644527461"
    }
  ]
}