{
  "_id": "6ad35a1b6fd9391477c95a14",
  "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-10-17 11:00:27 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/d0b4180bb33c9f367955fdd1dc27274d2d1ca7d4ad18ace7f5c60c6815d26f08",
  "_filesize": 812139,
  "_sha256": "d0b4180bb33c9f367955fdd1dc27274d2d1ca7d4ad18ace7f5c60c6815d26f08",
  "_expires": "2027-01-25T11:20:58.000Z",
  "_created": "2026-10-17T11:00:27.000Z",
  "_published": "2026-10-17T11:20:59.807Z",
  "_buildurl": "https://github.com/r-universe/mlindsk/actions/runs/39026850608",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117380109641,
      "time": 117,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12099012496"
    },
    {
      "job": 117380109625,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12099365412"
    },
    {
      "job": 117380109638,
      "time": 108,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12098982668"
    },
    {
      "job": 117380109621,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12098758778"
    },
    {
      "job": 117380109606,
      "time": 151,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 117380109658,
      "time": 186,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 117380109623,
      "time": 154,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12099257040"
    },
    {
      "job": 117380109681,
      "time": 357,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12099705974"
    },
    {
      "job": 117379476055,
      "time": 203,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12097859772"
    },
    {
      "job": 117380109631,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12099205768"
    },
    {
      "job": 117380109706,
      "time": 363,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12099510331"
    },
    {
      "job": 117380109744,
      "time": 159,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12099275634"
    },
    {
      "job": 117380109678,
      "time": 123,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 117380109738,
      "time": 429,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12099370796"
    },
    {
      "job": 117380109725,
      "time": 158,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12099305542"
    }
  ],
  "_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": 357,
    "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/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-10-17T11:02:31.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/129bfbca954ce5f612c1ec382965c4c712ad92df0ebb6d9baf92b14e3abce144",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/39026850608"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.8.4",
      "date": "2026-10-17T11:02:47.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/926032a9bd6b6354e2a3048a53f24025a198a842046bf7a19a664aa7a4fd8941",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/39026850608"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.8.4",
      "date": "2026-10-17T11:02:24.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/bce5d386a84390e4dce9fa194e0b46dbd56f534999a47f05a68e82c5f0dfd243",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/39026850608"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.8.4",
      "date": "2026-10-17T11:02:55.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/dbd78f9835f9455053da4dad5e46df4f4969d7b79a59a86d36fc7ed44ec9579a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/39026850608"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.8.4",
      "date": "2026-10-17T11:15:41.000Z",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/a68f77e70b67551b3124eec3e1812a4005efa02bd7eed098ec77088a2886202d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/39026850608"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.8.4",
      "date": "2026-10-17T11:18:16.000Z",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/4b8b9e2f069c0f64f698afea7ddad3b65376226f20157949f225edcf396e0e8c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/39026850608"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.8.4",
      "date": "2026-10-17T11:02:51.000Z",
      "arch": "emscripten",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/6efe23dc4ef948252c4bb2441088c40a9c97191106864679ab032230176c2dab",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/39026850608"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.8.4",
      "date": "2026-10-17T11:05:38.000Z",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/8ae275e6124b43b3e4a4b5772796d7e56b80fab67300ce2fad1105c7d7a3a250",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/39026850608"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.8.4",
      "date": "2026-10-17T11:01:52.000Z",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/618d378303d4df6a88a7d15aa5fd87523c5d99e30a26f357e6f1e12191b5f34e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/39026850608"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.8.4",
      "date": "2026-10-17T11:06:52.000Z",
      "arch": "aarch64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/919249794100c0feff0d9a4c4f2ac68d0d95ab2c24f3e14990cceaf39a5b5e09",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/39026850608"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.8.4",
      "date": "2026-10-17T11:02:32.000Z",
      "arch": "x86_64",
      "commit": "cec60d0f467b7c20fb380f70bed9aa8df4c885d3",
      "fileid": "https://r2.ropensci.org/001fed2950a62d93be391db68c5165eaff85859e614251587fd289089425ccee",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mlindsk/actions/runs/39026850608"
    }
  ]
}