Package 'minionator'

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

Help Index


Discrete Matrix

Description

Create a dataframe of discrete variables.

Usage

discrete_matrix(nrow, ncol, domain, name = "l")

Arguments

nrow

Number of rows

ncol

Number of columns

domain

Domain of variables

name

Matrix name

Value

A dataframe representing a nrow x ncol matrix over the given domain.


Minion Output

Description

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.

Usage

minion_output(x)

Arguments

x

List with variables, search, unary_constraints, binary_constraints and binary_vec_constraints

Value

A complete Minion 3 input string.