{
  "_id": "6a17d8e7acfb0bcc41d9b146",
  "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-05-26 05:51:19 UTC",
    "User": "root"
  },
  "Author": "Mads Lindskou [aut, cre]",
  "Maintainer": "Mads Lindskou <madslindskou@gmail.com>",
  "MD5sum": "7cbe7f5a83a5837e0f2b6baf4805ae09",
  "_user": "mlindsk",
  "_type": "src",
  "_file": "jti_0.8.4.tar.gz",
  "_fileid": "268361827077ce4c8914341480dd700eb2cf75a2fa09e1c228c2e4c933513d9b",
  "_filesize": 810594,
  "_sha256": "268361827077ce4c8914341480dd700eb2cf75a2fa09e1c228c2e4c933513d9b",
  "_created": "2026-05-26T05:51:19.000Z",
  "_published": "2026-05-28T05:55:51.865Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78231948162,
      "time": 149,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7209853401"
    },
    {
      "job": 78231948187,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7209853154"
    },
    {
      "job": 78231948323,
      "time": 143,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7209852295"
    },
    {
      "job": 78231948201,
      "time": 170,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7209857339"
    },
    {
      "job": 78231947966,
      "time": 117,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 78231948002,
      "time": 242,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 78231948321,
      "time": 100,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7209843714"
    },
    {
      "job": 78231948243,
      "time": 248,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7209872546"
    },
    {
      "job": 78231948085,
      "time": 225,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7209822692"
    },
    {
      "job": 78231948322,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7209849479"
    },
    {
      "job": 78231948238,
      "time": 140,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7209851863"
    },
    {
      "job": 78231948006,
      "time": 59,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 78231948514,
      "time": 154,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7209854890"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mlindsk/actions/runs/26434780757",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mlindsk/jti",
  "_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
  },
  "_maintainer": {
    "name": "Mads Lindskou",
    "email": "madslindskou@gmail.com",
    "login": "mlindsk",
    "description": "",
    "uuid": 42496064
  },
  "_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"
  },
  "_downloads": {
    "count": 240,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/jti"
  },
  "_devurl": "https://github.com/mlindsk/jti",
  "_searchresults": 9,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/jti.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "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.5.3",
      "os": "mac",
      "version": "0.8.4",
      "date": "2026-03-24T05:44:22.000Z",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "f6d93df5be1742028e0a16759092656f60002037dd718df5ad0886c3f86b1c3c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/23474917180"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.8.4",
      "date": "2026-03-24T05:46:26.000Z",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "1f3b77bf1abf195002e72152fadf5d320a724e3b891b5ee106f2c19c722aa75a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/23474917180"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.8.4",
      "date": "2026-03-24T05:43:49.000Z",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "06e7e66c35e71be6ab23bf0e7a129ea93f99cf501db952a49cdd7642ceb9faa2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/23474917180"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.8.4",
      "date": "2026-05-26T05:53:48.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "bc8c0176eb69c3a809c34117526b7081bab1daa92537cc3a535bd81fdbb6b4bd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/26434780757"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.8.4",
      "date": "2026-05-26T05:53:48.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "4aee7b633d72054533ee1796d02ff1a0be16c1c039962c95192983b10e2e1390",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/26434780757"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.8.4",
      "date": "2026-05-26T05:53:44.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "1fe3a9a6641ce162233f64340f9adfe11fac4b4836ebcdd46deae6d3ad09f7f0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/26434780757"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.8.4",
      "date": "2026-05-26T05:54:09.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "4f4383dd83df2333d01bc46aaea82d2ce88dfddf5b40e9f7a7dc0b68159ae18f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/26434780757"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.8.4",
      "date": "2026-05-26T05:53:14.000Z",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "71329f5088023eecc8aba86dc1805849516f91f95403c54726819c3f1256939c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/26434780757"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.8.4",
      "date": "2026-05-26T05:55:00.000Z",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "4a1e51d58fc91f8a0b5ff87c5304bd13ef4fc5a56f5066541fa830e026c8f085",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/26434780757"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.8.4",
      "date": "2026-05-26T05:53:50.000Z",
      "arch": "emscripten",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "51dfffe3310a881fe97cb1164ccceddfc95201c66438976265028b87182e7cf7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/26434780757"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.8.4",
      "date": "2026-05-26T05:53:05.000Z",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "d8700adb39100265edcdc9846513ef79cb9390359d99af29a91397bd0d927869",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/26434780757"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.8.4",
      "date": "2026-05-26T05:53:34.000Z",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "121613b53b8671fc77e7d6fb82812656b01101091ed7be9dd12a817a265b20d9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/26434780757"
    }
  ]
}