checkPreferenceSystem: Check if an object is a Preference System

Description Usage Arguments Value

Description

This function is more used internally to check if an object has the right structure to qualify as a Preference System. However, for users that want to set up their own relations R1 and R2 this function can be useful to check if the object was constructed the right way. Furthermore, in case the relations R1 and R2 are given in form of squared matrices this function will convert them to matrices with two and four columns, respectively.

Usage

1

Arguments

ps

[PreferenceSystem]
Preference System. Possibly calculated with makeDecisionProblem, or initialized manually

Value

[PreferenceSystem] If checks were successful, the input is returned.


florianfendt/dips documentation built on May 25, 2019, 5:22 p.m.