{
  "_id": "6afd68bd8c54a69a6a560009",
  "Package": "jti",
  "Title": "Junction Tree Inference",
  "Version": "0.8.4",
  "Date": "2022-04-11",
  "Authors@R": "person(given = \"Mads\",\nfamily = \"Lindskou\",\nrole = c(\"aut\", \"cre\"),\nemail = \"madslindskou@gmail.com\")",
  "Description": "Minimal and memory efficient implementation of the\njunction tree algorithm using the Lauritzen-Spiegelhalter\nscheme; S. L. Lauritzen and D. J. Spiegelhalter (1988)\n<https://www.jstor.org/stable/2345762?seq=1>.",
  "URL": "https://github.com/mlindsk/jti",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.1.2",
  "SystemRequirements": "C++11",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev",
  "Repository": "https://mlindsk.r-universe.dev",
  "Date/Publication": "2022-04-11 18:48:21 UTC",
  "RemoteUrl": "https://github.com/mlindsk/jti",
  "RemoteRef": "HEAD",
  "RemoteSha": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-16 13:22:45 UTC",
    "User": "root"
  },
  "Author": "Mads Lindskou [aut, cre]",
  "Maintainer": "Mads Lindskou <madslindskou@gmail.com>",
  "_user": "mlindsk",
  "_type": "src",
  "_file": "jti_0.8.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/aa5b795de822d1b59156ba21153c5a16658eeaf7df4543bd63d5dc7848a3cde7",
  "_filesize": 812928,
  "_sha256": "aa5b795de822d1b59156ba21153c5a16658eeaf7df4543bd63d5dc7848a3cde7",
  "_expires": "2027-02-24T14:05:08.000Z",
  "_created": "2026-11-16T13:22:45.000Z",
  "_published": "2026-11-20T02:36:45.174Z",
  "_upstream": "https://github.com/mlindsk/jti",
  "_status": "success",
  "_maintainer": {
    "name": "Mads Lindskou",
    "email": "madslindskou@gmail.com",
    "login": "mlindsk",
    "description": "",
    "uuid": 42496064
  },
  "_jobs": [
    {
      "job": 134686662858,
      "time": 113,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14229767304"
    },
    {
      "job": 134686663410,
      "time": 141,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14230670142"
    },
    {
      "job": 134686663162,
      "time": 106,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14230046936"
    },
    {
      "job": 134686662838,
      "time": 132,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14230136649"
    },
    {
      "job": 134686660954,
      "time": 157,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 134686661242,
      "time": 312,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 134686662875,
      "time": 139,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14233335360"
    },
    {
      "job": 134686662706,
      "time": 549,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14229888643"
    },
    {
      "job": 134686662719,
      "time": 231,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14229910991"
    },
    {
      "job": 134686662657,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14228994166"
    },
    {
      "job": 134686662820,
      "time": 363,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14230137235"
    },
    {
      "job": 134686663025,
      "time": 113,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14229328315"
    },
    {
      "job": 134686660948,
      "time": 61,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 134686662723,
      "time": 371,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14229378982"
    },
    {
      "job": 134686663531,
      "time": 129,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14230665200"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mlindsk/actions/runs/43874648028",
  "_commit": {
    "id": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
    "author": "mlindsk <42496064+mlindsk@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #19 from mlindsk/devel\n\n0.8.3",
    "time": 1649702901
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "sparta",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "ess",
      "role": "Suggests"
    }
  ],
  "_owner": "mlindsk",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "mlindsk",
      "count": 119,
      "uuid": 42496064
    }
  ],
  "_userbio": {
    "uuid": 42496064,
    "type": "user",
    "name": "mlindsk",
    "followers": 13
  },
  "_downloads": {
    "count": 490,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/jti"
  },
  "_devurl": "https://github.com/mlindsk/jti",
  "_topics": [
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::char_get_string_elt()",
        "hash": "b8ef75689d832a84"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "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/jti.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/mlindsk/jti",
  "_realowner": "mlindsk",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5.1",
      "date": "2020-11-19"
    },
    {
      "version": "0.5.2",
      "date": "2020-11-24"
    },
    {
      "version": "0.6.0",
      "date": "2020-12-16"
    },
    {
      "version": "0.7.0",
      "date": "2021-04-03"
    },
    {
      "version": "0.7.1",
      "date": "2021-05-21"
    },
    {
      "version": "0.8.0",
      "date": "2021-07-05"
    },
    {
      "version": "0.8.2",
      "date": "2022-01-28"
    },
    {
      "version": "0.8.3",
      "date": "2022-02-07"
    },
    {
      "version": "0.8.4",
      "date": "2022-04-12"
    },
    {
      "version": "1.0.0",
      "date": "2024-11-23"
    }
  ],
  "_exports": [
    "bnfit_to_cpts",
    "compile",
    "cpt_list",
    "dim_names",
    "get_clique_root",
    "get_clique_root_idx",
    "get_cliques",
    "get_graph",
    "get_triang_graph",
    "has_inconsistencies",
    "initialize",
    "jt",
    "jt_nbinary_ops",
    "leaves",
    "mpd",
    "mpe",
    "parents",
    "pot_list",
    "propagate",
    "query_belief",
    "query_evidence",
    "send_messages",
    "set_evidence",
    "sim_data_from_bn",
    "sim_data_from_dmrf",
    "triangulate"
  ],
  "_datasets": [
    {
      "name": "asia",
      "title": "Asia",
      "object": "asia",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "A",
        "S",
        "T",
        "L",
        "B",
        "E",
        "X",
        "D"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    },
    {
      "name": "asia2",
      "title": "Asia2",
      "object": "asia2",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "jti-package",
      "title": "jti: Junction Tree Inference",
      "topics": [
        "jti-package",
        "jti"
      ]
    },
    {
      "page": "asia",
      "title": "Asia",
      "topics": [
        "asia"
      ]
    },
    {
      "page": "asia2",
      "title": "Asia2",
      "topics": [
        "asia2"
      ]
    },
    {
      "page": "bnfit_to_cpts",
      "title": "bnfit to cpts",
      "topics": [
        "bnfit_to_cpts"
      ]
    },
    {
      "page": "compile",
      "title": "Compile information",
      "topics": [
        "compile",
        "compile.cpt_list"
      ]
    },
    {
      "page": "cpt_list",
      "title": "Conditional probability list",
      "topics": [
        "cpt_list",
        "cpt_list.data.frame",
        "cpt_list.list"
      ]
    },
    {
      "page": "getters",
      "title": "Various getters",
      "topics": [
        "dim_names",
        "dim_names.charge",
        "dim_names.cpt_list",
        "dim_names.jt",
        "has_inconsistencies",
        "has_inconsistencies.charge",
        "has_inconsistencies.jt",
        "names.charge",
        "names.cpt_list",
        "names.jt"
      ]
    },
    {
      "page": "get_cliques",
      "title": "Return the cliques of a junction tree",
      "topics": [
        "get_cliques",
        "get_cliques.charge",
        "get_cliques.jt",
        "get_cliques.pot_list",
        "get_clique_root",
        "get_clique_root.jt",
        "get_clique_root_idx",
        "get_clique_root_idx.jt"
      ]
    },
    {
      "page": "get-graph",
      "title": "Get graph",
      "topics": [
        "get_graph",
        "get_graph.charge",
        "get_graph.cpt_list"
      ]
    },
    {
      "page": "get-triang-graph",
      "title": "Get triangulated graph",
      "topics": [
        "get_triang_graph"
      ]
    },
    {
      "page": "initialize",
      "title": "Initialize",
      "topics": [
        "initialize",
        "initialize.charge"
      ]
    },
    {
      "page": "jt",
      "title": "Junction Tree",
      "topics": [
        "jt",
        "jt.charge"
      ]
    },
    {
      "page": "jt_nbinary_ops",
      "title": "Number of Binary Operations",
      "topics": [
        "jt_nbinary_ops",
        "jt_nbinary_ops.triangulation"
      ]
    },
    {
      "page": "par_lvs",
      "title": "Query Parents or Leaves in a Junction Tree",
      "topics": [
        "leaves",
        "leaves.jt",
        "parents",
        "parents.jt"
      ]
    },
    {
      "page": "mpd",
      "title": "Maximal Prime Decomposition",
      "topics": [
        "mpd",
        "mpd.cpt_list",
        "mpd.matrix"
      ]
    },
    {
      "page": "mpe",
      "title": "Most Probable Explanation",
      "topics": [
        "mpe",
        "mpe.jt"
      ]
    },
    {
      "page": "plot.charge",
      "title": "A plot method for junction trees",
      "topics": [
        "plot.charge"
      ]
    },
    {
      "page": "plot.jt",
      "title": "A plot method for junction trees",
      "topics": [
        "plot.jt"
      ]
    },
    {
      "page": "pot_list",
      "title": "A check and extraction of clique potentials from a Markov random field to be used in the junction tree algorithm",
      "topics": [
        "pot_list",
        "pot_list.data.frame"
      ]
    },
    {
      "page": "print.charge",
      "title": "A print method for compiled objects",
      "topics": [
        "print.charge"
      ]
    },
    {
      "page": "print.cpt_list",
      "title": "A print method for cpt lists",
      "topics": [
        "print.cpt_list"
      ]
    },
    {
      "page": "print.jt",
      "title": "A print method for junction trees",
      "topics": [
        "print.jt"
      ]
    },
    {
      "page": "propagate",
      "title": "Propagation of junction trees",
      "topics": [
        "propagate",
        "propagate.jt"
      ]
    },
    {
      "page": "query_belief",
      "title": "Query probabilities",
      "topics": [
        "query_belief",
        "query_belief.jt"
      ]
    },
    {
      "page": "query_evidence",
      "title": "Query Evidence",
      "topics": [
        "query_evidence",
        "query_evidence.jt"
      ]
    },
    {
      "page": "send_messages",
      "title": "Send Messages in a Junction Tree",
      "topics": [
        "send_messages"
      ]
    },
    {
      "page": "set_evidence",
      "title": "Enter Evidence",
      "topics": [
        "set_evidence",
        "set_evidence.charge",
        "set_evidence.jt"
      ]
    },
    {
      "page": "sim_data_from_bn",
      "title": "Simulate data from a Bayesian network",
      "topics": [
        "sim_data_from_bn"
      ]
    },
    {
      "page": "sim_data_from_dmrf",
      "title": "Simulate data from a decomposable discrete markov random field",
      "topics": [
        "sim_data_from_dmrf"
      ]
    },
    {
      "page": "triangulate",
      "title": "Triangulate a Bayesian network",
      "topics": [
        "triangulate",
        "triangulate.cpt_list"
      ]
    }
  ],
  "_pkglogo": "https://github.com/mlindsk/jti/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/mlindsk/jti/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "glue",
    "igraph",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pkgconfig",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "sparta",
    "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": "using_jti.Rmd",
      "filename": "using_jti.html",
      "title": "Using jti",
      "engine": "knitr::rmarkdown",
      "headings": [
        "On Graphical Models",
        "Setting up the network",
        "Compilation",
        "Example 1: sum-flow without evidence",
        "Example 2: sum-flow with evidence",
        "Example 3: max-flow without evidence",
        "Example 4: max-flow with evidence",
        "Example 5: specifying a root node and only collect to save run time",
        "Example 6: Compiling from a list of conditional probabilities",
        "Example 7: Fitting a decomposable model and apply JTA"
      ],
      "created": "2022-04-11 18:48:21",
      "modified": "2022-04-11 18:48:21",
      "commits": 1
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "jti",
  "_universes": [
    "mlindsk"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.8.4",
      "date": "2026-11-16T13:24:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/35cd8bececeb26a5cd4c4a9a4c7e46afd5603b68a9c51248db6977df6486733b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/43874648028"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.8.4",
      "date": "2026-11-16T13:25:15.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/f5effd499374fc0465fd632b1eff626b1fac98171dab41763ff2319cedc6cb33",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/43874648028"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.8.4",
      "date": "2026-11-16T13:24:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/ae3f93434872c9c95e6b827839b4c33cdaa4b206670be752482152e4eca6a1ae",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/43874648028"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.8.4",
      "date": "2026-11-16T13:25:18.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/798de674903cc2b7226f89839de3d4824ee32c5cdb179ac91fecdf9c116a5731",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/43874648028"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.8.4",
      "date": "2026-11-16T14:03:55.000Z",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/e2d3a5215059b40aaac12f9bfed3722679d825e5443629d274a9ca3045e5d340",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/43874648028"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.8.4",
      "date": "2026-11-16T13:38:45.000Z",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/b1468d2b7a6f96996e401f1bcbfa83270fc2e05ad2f7a6b4db3f230510e9494c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/43874648028"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.8.4",
      "date": "2026-11-16T13:25:07.000Z",
      "arch": "emscripten",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/442e261927fe1ee2d8e08e394dbd3b02657cec36eb35162fca870d13384b8200",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/43874648028"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.8.4",
      "date": "2026-11-16T13:28:39.000Z",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/e7fd8e583f4c699f0458efb5bddec03ed098057ef9ee04a327afd82c70ab6e6d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/43874648028"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.8.4",
      "date": "2026-11-16T13:24:16.000Z",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/f51d4eab317964deb107c220fc63a6dba7f824b53c48e32ecda411d90028c79f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/43874648028"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.8.4",
      "date": "2026-11-16T13:28:29.000Z",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/b8c1ecf0232ce893f5f41981c3f39eeeae5e525554acdf3654696723379dd25f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/43874648028"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.8.4",
      "date": "2026-11-16T13:24:38.000Z",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/0e5b730848ae12fc8b8f27992050f0f2803d39708d7d8431652890d640f83ed6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/43874648028"
    }
  ]
}