{
  "_id": "6a49ef05955f025f549e3aaa",
  "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-07-04 02:14:35 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/5e931ee3002ad799e553c4b35c551813abaf6ff4c06c4fcfc36ea89476d21534",
  "_filesize": 814359,
  "_sha256": "5e931ee3002ad799e553c4b35c551813abaf6ff4c06c4fcfc36ea89476d21534",
  "_expires": "2026-10-12T02:21:24.000Z",
  "_created": "2026-07-04T02:14:35.000Z",
  "_published": "2026-07-05T05:43:33.138Z",
  "_jobs": [
    {
      "job": 85196162245,
      "time": 188,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8077406180"
    },
    {
      "job": 85196162152,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8077401195"
    },
    {
      "job": 85196162155,
      "time": 164,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8077403675"
    },
    {
      "job": 85196162159,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8077400868"
    },
    {
      "job": 85196161950,
      "time": 62,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 85196161939,
      "time": 160,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 85196162190,
      "time": 155,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8077402257"
    },
    {
      "job": 85196162182,
      "time": 231,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8077414461"
    },
    {
      "job": 85196162046,
      "time": 217,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8077385253"
    },
    {
      "job": 85196162105,
      "time": 161,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8077402847"
    },
    {
      "job": 85196162052,
      "time": 133,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8077399800"
    },
    {
      "job": 85196161938,
      "time": 59,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 85196162081,
      "time": 118,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8077398153"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mlindsk/actions/runs/28691769609",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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": 375,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/jti"
  },
  "_devurl": "https://github.com/mlindsk/jti",
  "_searchresults": 10,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_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": "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-07-04T02:17:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/4ff14221655eea131e96c1bcc4d0a9a3f9ed7b2badc6f7f36f711ce4930e604d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/28691769609"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.8.4",
      "date": "2026-07-04T02:17:00.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/542b5044b1cfea9caaef0f457372cb68e5ad49491532a030131fb849ce595dd4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/28691769609"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.8.4",
      "date": "2026-07-04T02:17:28.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/49c78a8918ad3d9f8aa2d80313fabbe6490cb4832bc97362684c63a8092b76d4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/28691769609"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.8.4",
      "date": "2026-07-04T02:16:57.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/58f8154859a637c9bc2370f49a4f4acfa53264c1f353628870a427cd67012fe0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/28691769609"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.8.4",
      "date": "2026-07-04T02:16:57.000Z",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/c4da350b0c18bc5a022f378f8acb30731560e1a5a2c11b16516e46f0f3e48354",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/28691769609"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.8.4",
      "date": "2026-07-04T02:18:35.000Z",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/9d7b5234e7f46ce0110352c10035290dda3c3a89dca8b3d72a6b1ebd9b126afc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/28691769609"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.8.4",
      "date": "2026-07-04T02:17:28.000Z",
      "arch": "emscripten",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/b889b5bc09a2e24176eea4e4944a3845b29e55e80c36c8303b2d722feb9e86ef",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/28691769609"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.8.4",
      "date": "2026-07-04T02:16:07.000Z",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/ab8c87da44449bd4455ac842031cafc46df11fb57beda8467e6f89d84f780ab5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/28691769609"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.8.4",
      "date": "2026-07-04T02:15:57.000Z",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/a3ee4b744a059d4ed033f3751f63bc5ba26a4f4b68ac70f0667b2e0b166af45f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/28691769609"
    }
  ]
}