Skip to content

raviselker/jags-wfComboPack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JAGS wfComboPack module

The JAGS wfComboPack module is an extension for JAGS that implements 7 deterministic functions representing different decision strategies:

  • Take-the-best
  • TALLY
  • TALLYk
  • Weighted Additive
  • k-Reason
  • Random Walk
  • General Accumulator

Documentation on every function can be found in the wiki, and examples of how to use the module can be found over here.

Build instructions

Linux and MacOS

From tarball

Download the tarball, extract it, and open a terminal.

# change the working directory
cd path/to/jags-wfComboPack

sudo ./configure && sudo make && sudo make install

Note: It might be necessary to define a different prefix, depending on where JAGS is copied (i.e. installed), for example:

sudo ./configure --prefix /usr && sudo make && sudo make install

From repository

Download or clone this repository on your computer and open a terminal.

# change the working directory
cd path/to/jags-wfComboPack

# dependencies (on a clean ubuntu installation)
sudo apt-get install autoconf automake libtool g++

# creating all auxiliary files
autoreconf -fvi

# building
sudo ./configure
sudo make

# or, if JAGS has been installed in a different location, e.g. /usr
sudo ./configure --prefix /usr
sudo make

# install
sudo make install