Title: | Generate Minion Input Files in R |
---|---|
Description: | Generate input files for the Minion constraint solver. |
Authors: | Matthew Henderson [aut, cre] |
Maintainer: | Matthew Henderson <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.2.0 |
Built: | 2024-11-12 03:55:24 UTC |
Source: | https://github.com/MHenderson/minionator |
Create a dataframe of discrete variables.
discrete_matrix(nrow, ncol, domain, name = "l")
discrete_matrix(nrow, ncol, domain, name = "l")
nrow |
Number of rows |
ncol |
Number of columns |
domain |
Domain of variables |
name |
Matrix name |
A dataframe representing a nrow x ncol matrix over the given domain.
Given a list with members variables, search, unary_constraints, binary_constraints and binary_vec_constraints return the Minion 3 input string for the defined constraint program.
minion_output(x)
minion_output(x)
x |
List with variables, search, unary_constraints, binary_constraints and binary_vec_constraints |
A complete Minion 3 input string.