{
  "_id": "6a18192aacfb0bcc41db0656",
  "Package": "hmsr",
  "Title": "Multipopulation Evolutionary Strategy HMS",
  "Version": "1.0.1",
  "Authors@R": "c(\nperson(given = \"Wojciech\",\nfamily = \"Achtelik\",\nrole = c(\"aut\", \"cre\"),\nemail = \"wachtelik@gmail.com\"),\nperson(given = \"Marcin\",\nfamily = \"Kozubek\",\nrole = \"aut\",\nemail = \"mkozubek@protonmail.com\"),\nperson(given = \"Maciej\",\nfamily = \"Smołka\",\nrole = c(\"ths\", \"aut\"),\nemail = \"smolka@agh.edu.pl\",\ncomment = c(ORCID = \"0000-0002-3386-0555\", \"Java original\")),\nperson(given = \"AGH University of Kraków\",\nrole = \"cph\"\n))",
  "Description": "The HMS (Hierarchic Memetic Strategy) is a composite\nglobal optimization strategy consisting of a multi-population\nevolutionary strategy and some auxiliary methods. The HMS makes\nuse of a dynamically-evolving data structure that provides an\norganization among the component populations. It is a tree with\na fixed maximal height and variable internal node degree. Each\ncomponent population is governed by a particular evolutionary\nengine. This package provides a simple R implementation with\nexamples of using different genetic algorithms as the\npopulation engines. References: J. Sawicki, M. Łoś, M. Smołka,\nJ. Alvarez-Aramberri (2022) <doi:10.1007/s11047-020-09836-w>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.1.2",
  "BugReports": "https://github.com/WojtAcht/hms/issues",
  "URL": "https://wojtacht.github.io/hms/",
  "Repository": "https://wojtacht.r-universe.dev",
  "Date/Publication": "2024-03-13 19:30:35 UTC",
  "RemoteUrl": "https://github.com/wojtacht/hms",
  "RemoteRef": "HEAD",
  "RemoteSha": "f4bb133fd2a404f04e7b00d619042c0be859a2d6",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-28 10:26:24 UTC",
    "User": "root"
  },
  "Author": "Wojciech Achtelik [aut, cre],\nMarcin Kozubek [aut],\nMaciej Smołka [ths, aut] (ORCID:\n<https://orcid.org/0000-0002-3386-0555>, Java original),\nAGH University of Kraków [cph]",
  "Maintainer": "Wojciech Achtelik <wachtelik@gmail.com>",
  "MD5sum": "e839ec1476c067244a4a6104708172cf",
  "_user": "wojtacht",
  "_type": "src",
  "_file": "hmsr_1.0.1.tar.gz",
  "_fileid": "023dad4c7196184dac2065ebee81723777be4b8746e91e13477b5ebd33ac1e21",
  "_filesize": 215706,
  "_sha256": "023dad4c7196184dac2065ebee81723777be4b8746e91e13477b5ebd33ac1e21",
  "_created": "2026-05-28T10:26:24.000Z",
  "_published": "2026-05-28T10:30:02.153Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78271570446,
      "time": 161,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7263557436"
    },
    {
      "job": 78271570483,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7263555531"
    },
    {
      "job": 78271570449,
      "time": 152,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7263546057"
    },
    {
      "job": 78271570530,
      "time": 177,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7263551167"
    },
    {
      "job": 78271001354,
      "time": 224,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7263506591"
    },
    {
      "job": 78271570523,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7263545694"
    },
    {
      "job": 78271570540,
      "time": 106,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7263540633"
    },
    {
      "job": 78271570452,
      "time": 100,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7263539713"
    },
    {
      "job": 78271570447,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7263538586"
    }
  ],
  "_buildurl": "https://github.com/r-universe/wojtacht/actions/runs/26568985629",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/wojtacht/hms",
  "_commit": {
    "id": "f4bb133fd2a404f04e7b00d619042c0be859a2d6",
    "author": "WojtAcht <58685838+WojtAcht@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "fix: missing RANN dependencies (#60)\n\n",
    "time": 1710358235
  },
  "_maintainer": {
    "name": "Wojciech Achtelik",
    "email": "wachtelik@gmail.com",
    "login": "wojtacht",
    "description": "",
    "uuid": 58685838
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "GA",
      "role": "Imports"
    },
    {
      "package": "msm",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "uuid",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "ecr",
      "role": "Suggests"
    },
    {
      "package": "filelock",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "doParallel",
      "role": "Suggests"
    },
    {
      "package": "grDevices",
      "role": "Suggests"
    },
    {
      "package": "smoof",
      "role": "Suggests"
    },
    {
      "package": "cmaes",
      "role": "Suggests"
    },
    {
      "package": "RANN",
      "role": "Suggests"
    },
    {
      "package": "flacco",
      "role": "Suggests"
    },
    {
      "package": "randomForest",
      "role": "Suggests"
    },
    {
      "package": "DEoptim",
      "role": "Suggests"
    }
  ],
  "_owner": "wojtacht",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "wojtacht",
      "count": 162,
      "uuid": 58685838
    },
    {
      "user": "kartonm",
      "count": 45,
      "uuid": 24687031
    }
  ],
  "_userbio": {
    "uuid": 58685838,
    "type": "user",
    "name": "Wojciech Achtelik"
  },
  "_downloads": {
    "count": 134,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hmsr"
  },
  "_devurl": "https://github.com/wojtacht/hms",
  "_pkgdown": "https://wojtacht.github.io/hms/",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hmsr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/wojtacht/hms",
  "_realowner": "wojtacht",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2023-10-12"
    },
    {
      "version": "1.0.1",
      "date": "2023-10-25"
    }
  ],
  "_exports": [
    "classify_optimization_problem",
    "cma_es_metaepoch",
    "deoptim_cma_es_metaepoch",
    "deoptim_metaepoch",
    "ecr_metaepoch",
    "euclidean_distance",
    "ga_cma_es_metaepoch",
    "ga_metaepoch",
    "gsc_max_fitness_evaluations",
    "gsc_metaepochs_count",
    "gsc_trivial",
    "hms",
    "lsc_max_fitness_evaluations",
    "lsc_metaepochs_without_active_child",
    "lsc_metaepochs_without_improvement",
    "lsc_trivial",
    "manhattan_distance",
    "plot",
    "plotActiveDemes",
    "plotPopulation",
    "print",
    "printBlockedSprouts",
    "printTree",
    "rtnorm_mutation",
    "saveMetaepochsPopulations",
    "sc_max_metric",
    "show",
    "summary"
  ],
  "_help": [
    {
      "page": "calculate_ela_features",
      "title": "Calculate selected ELA features for given fitness.",
      "topics": [
        "calculate_ela_features"
      ]
    },
    {
      "page": "classify_optimization_problem",
      "title": "Classify optimization problem using selected ELA features and Random Forest model trained on BBOB dataset.",
      "topics": [
        "classify_optimization_problem"
      ]
    },
    {
      "page": "cma_es_metaepoch",
      "title": "Function that runs one cmaes metaepoch. Wrapper function for cmaes::cma_es.",
      "topics": [
        "cma_es_metaepoch"
      ]
    },
    {
      "page": "default_run_gradient_method",
      "title": "Function that runs gradient method for one deme. Wrapper function for stats::optim.",
      "topics": [
        "default_run_gradient_method"
      ]
    },
    {
      "page": "deoptim_cma_es_metaepoch",
      "title": "Function that generates run_metaepoch function for two level HMS. First level: DE, second level: CMA-ES.",
      "topics": [
        "deoptim_cma_es_metaepoch"
      ]
    },
    {
      "page": "deoptim_metaepoch",
      "title": "Function that runs one differential evolution metaepoch. Wrapper function for DEoptim::DEoptim.",
      "topics": [
        "deoptim_metaepoch"
      ]
    },
    {
      "page": "ecr_metaepoch",
      "title": "Function that runs one ecr metaepoch. Wrapper function for ecr::ecr.",
      "topics": [
        "ecr_metaepoch"
      ]
    },
    {
      "page": "euclidean_distance",
      "title": "Euclidean distance",
      "topics": [
        "euclidean_distance"
      ]
    },
    {
      "page": "ga_cma_es_metaepoch",
      "title": "Function that generates run_metaepoch function for two level HMS. First level: GA, second level: CMA-ES.",
      "topics": [
        "ga_cma_es_metaepoch"
      ]
    },
    {
      "page": "ga_metaepoch",
      "title": "Function that runs one GA metaepoch. Wrapper function for GA::ga.",
      "topics": [
        "ga_metaepoch"
      ]
    },
    {
      "page": "gsc_max_fitness_evaluations",
      "title": "Factory function for a global stopping condition that stops the computation after fitness function has been evaluated given number of times.",
      "topics": [
        "gsc_max_fitness_evaluations"
      ]
    },
    {
      "page": "gsc_metaepochs_count",
      "title": "Factory function for a global stopping condition that stops the computation after given number of metaepochs.",
      "topics": [
        "gsc_metaepochs_count"
      ]
    },
    {
      "page": "gsc_trivial",
      "title": "Factory function for a global stopping condition that never stops the computation. It results in hms running until there are no more active demes.",
      "topics": [
        "gsc_trivial"
      ]
    },
    {
      "page": "hms",
      "title": "Maximization (or minimization) of a fitness function using Hierarchic Memetic Strategy.",
      "topics": [
        "hms"
      ]
    },
    {
      "page": "hms-class",
      "title": "A S4 class representing a result of hms.",
      "topics": [
        "hms-class"
      ]
    },
    {
      "page": "lsc_max_fitness_evaluations",
      "title": "Factory function for a local stopping condition that stops a deme after given number of fitness function evaluations has been made in that deme.",
      "topics": [
        "lsc_max_fitness_evaluations"
      ]
    },
    {
      "page": "lsc_metaepochs_without_active_child",
      "title": "Factory function for a local stopping condition that stops a deme after given number of metaepochs have past since last metaepoch during which this deme had an active child.",
      "topics": [
        "lsc_metaepochs_without_active_child"
      ]
    },
    {
      "page": "lsc_metaepochs_without_improvement",
      "title": "Factory function for a local stopping condition that stops a deme after given number of consecutive metaeopochs without an improvement of the best solution found in that deme.",
      "topics": [
        "lsc_metaepochs_without_improvement"
      ]
    },
    {
      "page": "lsc_trivial",
      "title": "Factory function for a trivial local stopping condition that lets a deme be active forever. It is usually used in the root of a hms tree.",
      "topics": [
        "lsc_trivial"
      ]
    },
    {
      "page": "manhattan_distance",
      "title": "Manhattan distance",
      "topics": [
        "manhattan_distance"
      ]
    },
    {
      "page": "MetaepochSnapshot-class",
      "title": "A S4 class representing a snapshot of one metaepoch.",
      "topics": [
        "MetaepochSnapshot-class"
      ]
    },
    {
      "page": "plot-hms-method",
      "title": "Plot method for \"hms\" class.",
      "topics": [
        "plot,hms-method"
      ]
    },
    {
      "page": "plotActiveDemes",
      "title": "plotActiveDemes method for \"hms\" class.",
      "topics": [
        "plotActiveDemes"
      ]
    },
    {
      "page": "plotActiveDemes-hms-method",
      "title": "plotActiveDemes method for \"hms\" class.",
      "topics": [
        "plotActiveDemes,hms-method"
      ]
    },
    {
      "page": "plotPopulation",
      "title": "plotPopulation method for \"hms\" class.",
      "topics": [
        "plotPopulation"
      ]
    },
    {
      "page": "plotPopulation-hms-method",
      "title": "plotPopulation method for \"hms\" class.",
      "topics": [
        "plotPopulation,hms-method"
      ]
    },
    {
      "page": "print-hms-method",
      "title": "Print method for class \"hms\".",
      "topics": [
        "print,hms-method"
      ]
    },
    {
      "page": "printBlockedSprouts",
      "title": "printBlockedSprouts method for \"hms\" class.",
      "topics": [
        "printBlockedSprouts"
      ]
    },
    {
      "page": "printBlockedSprouts-hms-method",
      "title": "printBlockedSprouts method for \"hms\" class.",
      "topics": [
        "printBlockedSprouts,hms-method"
      ]
    },
    {
      "page": "printTree",
      "title": "printTree method for class \"hms\".",
      "topics": [
        "printTree"
      ]
    },
    {
      "page": "printTree-hms-method",
      "title": "printTree method for class \"hms\".",
      "topics": [
        "printTree,hms-method"
      ]
    },
    {
      "page": "rtnorm_mutation",
      "title": "Factory function that creates normal mutation function",
      "topics": [
        "rtnorm_mutation"
      ]
    },
    {
      "page": "saveMetaepochsPopulations",
      "title": "saveMetaepochsPopulations method for \"hms\" class.",
      "topics": [
        "saveMetaepochsPopulations"
      ]
    },
    {
      "page": "saveMetaepochsPopulations-hms-method",
      "title": "saveMetaepochsPopulations",
      "topics": [
        "saveMetaepochsPopulations,hms-method"
      ]
    },
    {
      "page": "sc_max_metric",
      "title": "Default sprouting condition based on given metric.",
      "topics": [
        "sc_max_metric"
      ]
    },
    {
      "page": "show-hms-method",
      "title": "Show method for class \"hms\".",
      "topics": [
        "show,hms-method"
      ]
    },
    {
      "page": "summary-hms-method",
      "title": "Summary method for class \"hms\".",
      "topics": [
        "summary,hms-method"
      ]
    },
    {
      "page": "train_random_forest_model",
      "title": "Train Random Forest model on BBOB dataset (data/ela_features.rda).",
      "topics": [
        "train_random_forest_model"
      ]
    }
  ],
  "_readme": "https://github.com/wojtacht/hms/raw/HEAD/README.md",
  "_rundeps": [
    "cachem",
    "cli",
    "codetools",
    "crayon",
    "expm",
    "fastmap",
    "foreach",
    "GA",
    "generics",
    "glue",
    "iterators",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "memoise",
    "msm",
    "mvtnorm",
    "pillar",
    "pkgconfig",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "survival",
    "tibble",
    "utf8",
    "uuid",
    "vctrs"
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "hmsr",
  "_universes": [
    "wojtacht"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-28T10:28:53.000Z",
      "distro": "noble",
      "commit": "f4bb133fd2a404f04e7b00d619042c0be859a2d6",
      "fileid": "9131def9d8b8098eb508006b0ab710058a8a8e71f31942593994bdbf2e5f8e30",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/wojtacht/actions/runs/26568985629"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-28T10:28:49.000Z",
      "distro": "noble",
      "commit": "f4bb133fd2a404f04e7b00d619042c0be859a2d6",
      "fileid": "204db8e94a9b173215726c5860a7646c9e742026146e4a6ec1b9cba55a989556",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/wojtacht/actions/runs/26568985629"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-28T10:28:27.000Z",
      "commit": "f4bb133fd2a404f04e7b00d619042c0be859a2d6",
      "fileid": "cddee7f16cb6a23c227344a4296039f34d1b4a684e11803dcacfdf22dc8f7855",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/wojtacht/actions/runs/26568985629"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-28T10:28:38.000Z",
      "commit": "f4bb133fd2a404f04e7b00d619042c0be859a2d6",
      "fileid": "ec742cd0db3049fa1af03cb02115717667c9ad0e2b554df247926786a33bb51e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/wojtacht/actions/runs/26568985629"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-05-28T10:28:46.000Z",
      "commit": "f4bb133fd2a404f04e7b00d619042c0be859a2d6",
      "fileid": "d9a7b7dd887945b22f61d40cf039d48ff2700f377c6283a00b9d91db3811fe23",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wojtacht/actions/runs/26568985629"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-28T10:27:51.000Z",
      "commit": "f4bb133fd2a404f04e7b00d619042c0be859a2d6",
      "fileid": "205db4b86861baf329c869006624b3f92e3c9505b199cb04b168136a511bbb1e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/wojtacht/actions/runs/26568985629"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-28T10:27:49.000Z",
      "commit": "f4bb133fd2a404f04e7b00d619042c0be859a2d6",
      "fileid": "efe220ac6f2cbbe5a610e811cfea614d3ee1aa56f1432bc4bc635abb7f744787",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/wojtacht/actions/runs/26568985629"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-28T10:27:45.000Z",
      "commit": "f4bb133fd2a404f04e7b00d619042c0be859a2d6",
      "fileid": "8d9fde9f14458da7c20dbd29199904174a7a2dc42be184e4188fc33b4056599b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/wojtacht/actions/runs/26568985629"
    }
  ]
}